All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.InfoBoxViewModel.kt Maven / Gradle / Ivy

There is a newer version: 1.90.0-10
Show newest version
// Automatically generated - do not modify!

package cesium

/**
 * The view model for [InfoBox].
 * @see Online Documentation
 */
@JsName("\$cesium__InfoBoxViewModel")
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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy