main.cesium.InfoBoxViewModel.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* The view model for [InfoBox].
* @see Online Documentation
*/
external class InfoBoxViewModel {
/**
* Gets or sets the maximum height of the info box in pixels. This property is observable.
* @see Online Documentation
*/
var maxHeight: Double
/**
* Gets or sets whether the camera tracking icon is enabled.
* @see Online Documentation
*/
var enableCamera: Boolean
/**
* Gets or sets the status of current camera tracking of the selected object.
* @see Online Documentation
*/
var isCameraTracking: Boolean
/**
* Gets or sets the visibility of the info box.
* @see Online Documentation
*/
var showInfo: Boolean
/**
* Gets or sets the title text in the info box.
* @see Online Documentation
*/
var titleText: String
/**
* Gets or sets the description HTML for the info box.
* @see Online Documentation
*/
var description: String
/**
* Gets the SVG path of the camera icon, which can change to be "crossed out" or not.
* @see Online Documentation
*/
var cameraIconPath: String
/**
* Gets the maximum height of sections within the info box, minus an offset, in CSS-ready form.
* @param [offset] The offset in pixels.
* @see Online Documentation
*/
fun maxHeightOffset(offset: Double): String
/**
* Gets an [Event] that is fired when the user clicks the camera icon.
* @see Online Documentation
*/
var cameraClicked: Event
/**
* Gets an [Event] that is fired when the user closes the info box.
* @see Online Documentation
*/
var closeClicked: Event
}