Timeline - Cesium Documentation

# Timeline

#### new Timeline(container, clock)

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

  Name | Type | Description
  --- | --- | ---
  `container` | Element | The parent HTML container node for this widget.
  `clock` | Clock | The clock to use.

  Source: Widgets/Timeline/Timeline.js, line 85

### Members

#### container :Element

  Gets the parent container.
  Source: Widgets/Timeline/Timeline.js, line 101

### Methods

#### destroy()

  Destroys the widget. Should be called if permanently removing the widget from layout.
  Source: Widgets/Timeline/Timeline.js, line 195

#### isDestroyed() → Boolean

  ##### Returns:

  true if the object has been destroyed, false otherwise.
  Source: Widgets/Timeline/Timeline.js, line 187

#### resize()

  Resizes the widget to match the container size.
  Source: Widgets/Timeline/Timeline.js, line 768

#### zoomTo(startTime, stopTime)

  Sets the view to the provided times.

  Name | Type | Description
  --- | --- | ---
  `startTime` | JulianDate | The start time.
  `stopTime` | JulianDate | The stop time.

  Source: Widgets/Timeline/Timeline.js, line 239