new Fullscreen()
Static helper class for fullscreen support
Methods
-
<static> closeFullscreen()
-
Close current fullscreen, if is in fullscreen mode
-
<static> currentFullscreenElement()
-
Check if is in fullscreen mode
-
<static> currentFullscreenElement()
-
Get current fullscreen element
Returns:
element- Type
- HTMLElement
-
<static> dispatcher()
-
Get signal dispatcher to recieve events.
Returns:
- Type
- coreutils.Signal
-
<static> enterFullscreen(element)
-
Enter fullscreen with element
Parameters:
Name Type Description elementHTMLElement -
<static> isSupported()
-
Check if fullscreen is supported
Returns:
- Type
- boolean