main.cesium.Timeline.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:Suppress(
"EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)
package cesium
/**
* The Timeline is a widget for displaying and controlling the current scene time.
* @see Online Documentation
*
* @constructor
* @property [container] The parent HTML container node for this widget.
* @param [clock] The clock to use.
* @see Online Documentation
*/
@JsName("\$cesium__Timeline")
external class Timeline(
var container: org.w3c.dom.Element,
clock: Clock,
) {
/**
* @return true if the object has been destroyed, false otherwise.
* @see Online Documentation
*/
fun isDestroyed(): Boolean
/**
* Destroys the widget. Should be called if permanently
* removing the widget from layout.
* @see Online Documentation
*/
fun destroy()
/**
* Sets the view to the provided times.
* @param [startTime] The start time.
* @param [stopTime] The stop time.
* @see Online Documentation
*/
fun zoomTo(
startTime: JulianDate,
stopTime: JulianDate,
)
/**
* Resizes the widget to match the container size.
* @see Online Documentation
*/
fun resize()
}