Show:

ia.TimeControl Class

Module: ia

A class for controlling time animations.

Constructor

ia.TimeControl

(
  • id
  • dataGroup
  • callbackFunction
)

Parameters:

  • id String

    The id of the TimeControl.

  • dataGroup ia.DataGroup

    The this._dataGroup attached to the control.

  • callbackFunction Function

    Called when a selection is made.

Item Index

Properties

Methods

_back

() private

Moves to previous date.

_next

() private

Moves to next date.

_play

() private

Plays the animation.

_render

() private

Renders the control.

_stop

() private

Stops the animation.

setData

()

Sets the data.

Properties

container

JQUERY Element

The container that holds the object.

delay

Number

The time delay in seconds between changing dates.

Default: 1.5