Skip to content

KBE3D / KBCore / Cesium / FullscreenButton

类: FullscreenButton

A single button widget for toggling fullscreen mode.

参数

The DOM element or ID that will contain the widget.

参数

The element or id to be placed into fullscreen mode.

构造函数

构造函数

new FullscreenButton(container: string | Element, fullscreenElement?: string | Element): FullscreenButton

参数

container

string | Element

fullscreenElement?

string | Element

返回

FullscreenButton

属性

container

container: Element

Gets the parent container.


viewModel

viewModel: FullscreenButtonViewModel

Gets the view model.

方法

isDestroyed()

isDestroyed(): boolean

返回

boolean

true if the object has been destroyed, false otherwise.


destroy()

destroy(): void

Destroys the widget. Should be called if permanently removing the widget from layout.

返回

void

KBE3D @3.0.6 Copyright © 2024-present @沉淀.