new FullscreenViewModel
The ViewModel for FullscreenWidget.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
fullscreenElement |
Element |
<optional> |
document.body | The element to be placed into fullscreen mode. |
See:
Members
-
command :Command
-
The command for toggling fullscreen mode.
-
fullscreenElement :Observable
-
The HTML element to place into fullscreen mode when the corresponding button is pressed. By default, the entire page will enter fullscreen. By specifying another container, only that container will be in fullscreen.
-
isFullscreenEnabled :Observable
-
Indicates if fullscreen functionality is possible.
-
toggled :Observable
-
Indicates if fullscreen functionality is currently toggled.
-
tooltip :Observable
-
The current button tooltip.