Firefox Tomorrow

web api instance property

Screen: mozEnabled property

View on MDN ↗

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.