main.cesium.ToggleButtonViewModel.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:Suppress(
"NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
"EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)
package cesium
/**
* A view model which exposes the properties of a toggle button.
* @see Online Documentation
*
* @constructor
* @property [command] The command which will be executed when the button is toggled.
* @see Online Documentation
*/
@JsName("\$cesium__ToggleButtonViewModel")
external class ToggleButtonViewModel(var command: Command) {
/**
* Gets or sets whether the button is currently toggled. This property is observable.
* @see Online Documentation
*/
var toggled: Boolean
/**
* Gets or sets the button's tooltip. This property is observable.
* @see Online Documentation
*/
var tooltip: String
}