Timeline

external class Timeline(var container: ERROR CLASS: Symbol not found for Element, clock: ERROR CLASS: Symbol not found for 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: ERROR CLASS: Symbol not found for Element, clock: ERROR CLASS: Symbol not found for Clock)

Properties

Link copied to clipboard
var container: ERROR CLASS: Symbol not found for Element

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: ERROR CLASS: Symbol not found for JulianDate, stopTime: ERROR CLASS: Symbol not found for JulianDate)

Sets the view to the provided times.