Exits fullscreen mode
true if the request is made
Checks if screen is in fullscreen mode
true if fullscreen is active
Requests fullscreen mode
true if the request is made
Toggles fullscreen state
state of fullscreen mode after call (equivalent to isActive
)
Generated using TypeDoc
A simple helper to manage fullscreen mode. Fullscreen mode requires a user gesture.
request()
MUST be called withinscreen.onClick()
,sprite.onClick()
or similar method