new DelayedObject(name, obj, delays)
TA.BaseObject that delays animation execution
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String | the object name |
obj |
TA.BaseObject | the object to delay |
delays |
Object | object with delays in milliseconds (delays.in and delays.out) |
- Implements:
- Source:
Methods
getElement() → {Object}
Returns the DOM object
- Implements:
- Source:
Returns:
- Type
- Object
getName() → {String}
Returns the name of the object
- Implements:
- Source:
Returns:
- Type
- String
start(name, completeopt)
Starts the name Animation
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
name |
String | name of animation to start | |
complete |
function |
<optional> |
function to be called once all animations are finished |
- Implements:
- Source:
startIn(completeopt)
Starts the "in" Animation
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
complete |
function |
<optional> |
function to be called once all animations are finished |
- Implements:
- Source:
startOut(completeopt)
Starts the "out" Animation
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
complete |
function |
<optional> |
function to be called once all animations are finished |
- Implements:
- Source: