new Timeline(name)
A basic Timeline object
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String | name of the timeline |
- Source:
Methods
add(action)
Adds Actions to the Timeline
Parameters:
| Name | Type | Description |
|---|---|---|
action |
Array.<TA.TimelineAction> | TA.TimelineAction | either a TA.TimelineAction or an array of TA.TimelineActions |
- Source:
displayControls(jQuery|Stringopt) → {jQuery}
Displays controls to control this timeline in your Webpage
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
jQuery|String |
<optional> |
$e - either a jQuery Node object or an ID. The Element gets created if it does not exist. |
- Source:
Returns:
the jQuery Node the controls reside in
- Type
- jQuery
getDescriber() → {TA.TimelineDescriber}
Returns a TA.TimelineDescriber object for convenience
- Source:
Returns:
- Type
- TA.TimelineDescriber
getName() → {String}
Returns the timeline name
- Source:
Returns:
- Type
- String
go()
Starts the execution
- Source:
jumpToLabel(label)
Jumps to a label and starts the execution from there
Parameters:
| Name | Type | Description |
|---|---|---|
label |
String |
- Source:
pause()
Halts the execution
- Source:
play()
Starts the execution
- Source:
rewind()
Rewinds the timeline
- Source:
setDebug(dbg)
Sets the debug value
Parameters:
| Name | Type | Description |
|---|---|---|
dbg |
Boolean |
- Source:
setSingleStep(singleStepValue)
Sets the single step value
Parameters:
| Name | Type | Description |
|---|---|---|
singleStepValue |
Boolean |
- Source: