Timeline

external class Timeline(var container: <Error class: unknown class>, clock: <Error class: unknown class>)(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: unknown class>, clock: <Error class: unknown class>)

Properties

Link copied to clipboard
var container: <Error class: unknown class>

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: unknown class>, stopTime: <Error class: unknown class>)

Sets the view to the provided times.