Skip to content

KBE3D / KBCore / Cesium / InfoBox

类: InfoBox

A widget for displaying information or a description.

参数

The DOM element or ID that will contain the widget.

属性

container

container: Element

Gets the parent container.


viewModel

viewModel: InfoBoxViewModel

Gets the view model.


frame

frame: HTMLIFrameElement

Gets the iframe used to display the description.

方法

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

构造函数

构造函数

new InfoBox(container: string | Element): InfoBox

参数

container

string | Element

返回

InfoBox

KBE3D @3.0.0 Copyright © 2024-present KBE3D