web api instance property
Screen: mozEnabled property
This Boolean attribute controls the device’s screen. Setting it to false
will turn off the screen.
Value
A boolean.
Specifications
Not part of specification.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.