InfoBoxViewModel

open external class InfoBoxViewModel(source)

The view model for InfoBox.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Gets an Event that is fired when the user clicks the camera icon.

Link copied to clipboard
external var cameraIconPath: String

Gets the SVG path of the camera icon, which can change to be "crossed out" or not.

Link copied to clipboard

Gets an Event that is fired when the user closes the info box.

Link copied to clipboard
external var description: String

Gets or sets the description HTML for the info box.

Link copied to clipboard
external var enableCamera: Boolean

Gets or sets whether the camera tracking icon is enabled.

Link copied to clipboard

Gets or sets the status of current camera tracking of the selected object.

Link copied to clipboard
external var maxHeight: Double

Gets or sets the maximum height of the info box in pixels. This property is observable.

Link copied to clipboard
external var showInfo: Boolean

Gets or sets the visibility of the info box.

Link copied to clipboard
external var titleText: String

Gets or sets the title text in the info box.

Functions

Link copied to clipboard
external fun maxHeightOffset(offset: Double): String

Gets the maximum height of sections within the info box, minus an offset, in CSS-ready form.