Animation
Utilities for animation
Members
(static) speed
Properties:
Name |
Type |
Description |
speed
|
Object
|
predefined animation speed
Properties
Name |
Type |
Description |
slow
|
Number
|
2000ms |
normal
|
Number
|
1000ms |
fast
|
Number
|
500ms |
|
- Source:
Static Methods
Generate a framing function
Parameter |
Type |
Default |
Description |
styles
|
Array.<Object>
|
|
animation style group |
options
opt
|
Object
|
null
|
options
Properties
Parameter |
Type |
Default |
Description |
easing
opt
|
Object
|
null
|
animation easing |
|
Returns:
function:
framing function helps to generate animation frames.
(static) animate(styles, options, step)
[source]
Create an animation player
Parameter |
Type |
Description |
styles
|
Object
|
styles to animate |
options
|
Object
|
animation options |
step
|
function
|
callback function for animation steps |
Returns:
Player:
player