Purpose
Utility controller that can open/close/toggle fullscreen for an element or page in response to actions.
Action | Purpose |
---|
enter | Enter fullscreen mode on the element or page. |
exit | Exit fullscreen for the element or page. |
toggle | Toggle fullscreen on the element or page. Open fullscreen if not already open. Close fullscreen if already open. |
Value | Type | Description | Default |
---|
- | - | - | - |
Events
Event | When | Dispatched on | event.detail |
---|
- | - | - | - |
Side Effects
Sets an event listener for fullscreenchange
to keep track of the fullscreen state of the app.
How to Use