이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!
This Boolean attribute controls the device's screen. Setting it to false
will turn off the screen.
Syntax
screenEnabled = window.screen.mozEnabled
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | ? | 12.0 (12.0) | ? | ? | ? |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | ? | ? | 12.0 (12.0) | ? | ? | ? |
Availability
In order to use screen.mozEnabled
you have to set the preference "dom.screenEnabledProperty.enabled" to true in about:config.
Specification
Not part of specification.