HTML and CSS Reference
In-Depth Information
Figure I.13. Wilson entering full-screen mode in Firefox with the user information overlay showing
A summary of the Full-Screen API is shown in table I.6 .
Table I.6. The Full-Screen API
Property/event name
Type
requestFullscreen()
Method
Ask for an element to go to full screen.
fullscreenEnabled
Read-only boolean
Is the page currently in full-screen mode?
If full screen is enabled, this property will be set to the ele-
ment that's full screen.
fullscreenElement
Read-only enabled
fullscreenchange
Event
The fullscreenEnabled state has changed.
 
 
Search WWH ::




Custom Search