Show:

Full-screen Class

These docs have moved here.
Collection: mixins

Reference for DEVELOPERS of new frames only! Allow components to specify fullscreen capabilities based on minimal configuration options

Methods

exitFullscreen

()

Exit fullscreen mode

showFullscreen

()

Make a specified element fullscreen

Properties

displayFullscreen

Boolean private

Specific to this element. Defined in app/mixins/full-screen.js:27

Whether to display this frame fullscreen

Default: false

displayFullscreenOverride

String

Specific to this element. Defined in app/mixins/full-screen.js:165

Set to true to display this frame in fullscreen mode, even if the frame type is not always displayed fullscreen. (For instance, you might use this to keep a survey between test trials in fullscreen mode.)

Default: false

fsButtonID

String private

Specific to this element. Defined in app/mixins/full-screen.js:35

The element ID of a button to show if the user leaves fullscreen mode

fullScreenElementId

String private

Specific to this element. Defined in app/mixins/full-screen.js:20

The element ID of the thing to make full screen (video element, div, etc)

Events

enteredFullscreen

Upon detecting change to fullscreen mode

leftFullscreen

Upon detecting change out of fullscreen mode