Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

msFullscreenEnabled property

Returns true if an element is in full-screen mode; otherwise returns false.

This property is read-only.

IE11

Syntax


fsEnabled = document.msFullscreenEnabled;

Property values

Type: boolean

Flag that indicates whether or not an element is currently in full-screen mode.

ValueCondition
true

An element is in full-screen mode

false

No element is in full-screen mode

 

Remarks

Because this property only returns true when an element is currently in full-screen mode, it shouldn't be used for feature detection.

See also

document

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.