Timeline

external class Timeline(var container: Element, clock: Clock)(source)

The Timeline is a widget for displaying and controlling the current scene time.

Parameters

clock

The clock to use.

See also

Constructors

Link copied to clipboard
constructor(container: Element, clock: Clock)

Properties

Link copied to clipboard

The parent HTML container node for this widget.

Functions

Link copied to clipboard
fun destroy()

Destroys the widget. Should be called if permanently removing the widget from layout.

Link copied to clipboard
Link copied to clipboard
fun resize()

Resizes the widget to match the container size.

Link copied to clipboard
fun zoomTo(startTime: JulianDate, stopTime: JulianDate)

Sets the view to the provided times.