new StyleAnimation(target, key, settings)
An animation that changes the specified style for each frame.
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
target |
HTMLElement | |||||||||||||||||||||||||
key |
string | |||||||||||||||||||||||||
settings |
Object |
Properties
|
- Source:
Extends
Methods
finish(finishHandler) → {FunctionalAnimation}
Set finish handler.
Parameters:
Name | Type | Description |
---|---|---|
finishHandler |
function |
- Inherited From:
- Source:
start(delay) → {FunctionalAnimation}
Start an animation.
Parameters:
Name | Type | Description |
---|---|---|
delay |
number | milliseconds |
- Inherited From:
- Source: