Skip to main content

FullscreenController

Purpose​

Utility controller that can open/close/toggle fullscreen for an element or page in response to actions.

Actions​

ActionPurpose
enterEnter fullscreen mode on the element or page.
exitExit fullscreen for the element or page.
toggleToggle fullscreen on the element or page. Open fullscreen if not already open. Close fullscreen if already open.

Targets​

TargetPurposeDefault
---

Classes​

ClassPurposeDefault
---

Values​

ValueTypeDescriptionDefault
----

Events​

EventWhenDispatched onevent.detail
----

Side Effects​

Sets an event listener for fullscreenchange to keep track of the fullscreen state of the app.

How to Use​