Timeline

open 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
external var container: Element

The parent HTML container node for this widget.

Functions

Link copied to clipboard
external fun destroy()

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

Link copied to clipboard
external fun isDestroyed(): Boolean
Link copied to clipboard
external fun resize()

Resizes the widget to match the container size.

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

Sets the view to the provided times.