new FunctionalAnimation(animationFunction, method, duration) → {FunctionalAnimation}
Animation that executes a function every frame.
Parameters:
| Name | Type | Description |
|---|---|---|
animationFunction |
function | |
method |
FunctionalAnimation.methods | |
duration |
number |
- Source:
Methods
finish(finishHandler) → {FunctionalAnimation}
Set finish handler.
Parameters:
| Name | Type | Description |
|---|---|---|
finishHandler |
function |
- Source:
start(delay) → {FunctionalAnimation}
Start an animation.
Parameters:
| Name | Type | Description |
|---|---|---|
delay |
number | milliseconds |
- Source: