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

 

 

Show:
© 2014 Microsoft