FullscreenButtonViewModel

external class FullscreenButtonViewModel(var fullscreenElement: Element = definedExternally, container: Element? = definedExternally)(source)

The view model for FullscreenButton.

Parameters

container

The DOM element that will contain the widget.

See also

Constructors

Link copied to clipboard
constructor(fullscreenElement: Element = definedExternally, container: Element? = definedExternally)

Properties

Link copied to clipboard

Gets the Command to toggle fullscreen mode.

Link copied to clipboard

The element or id to be placed into fullscreen mode. Default value - document.body

Link copied to clipboard

Gets whether or not fullscreen mode is active. This property is observable.

Link copied to clipboard

Gets or sets whether or not fullscreen functionality should be enabled. This property is observable.

Link copied to clipboard

Gets the tooltip. This property is observable.

Functions

Link copied to clipboard
fun destroy()

Destroys the view model. Should be called to properly clean up the view model when it is no longer needed.

Link copied to clipboard