ia.TimeControl Class
A class for controlling time animations.
Constructor
ia.TimeControl
(
-
id
-
dataGroup
-
callbackFunction
Parameters:
-
id
StringThe id of the TimeControl.
-
dataGroup
ia.DataGroupThe this._dataGroup attached to the control.
-
callbackFunction
FunctionCalled when a selection is made.
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