Function animateWAAPI
- animateWAAPI(opts?): Action
Parameters
Optional
opts: {
debounce?: number;
duration?: number;
event?: string;
keyframes: object | any[];
options?: object;
}Optional parameters.
Optional
debounce?: numberAdd a debounce to incoming events in milliseconds.
Optional
duration?: numberDuration in milliseconds.
Optional
event?: stringDOM event to bind element to respond with the ripple effect.
keyframes: object | any[]
An array of keyframe objects or a keyframe object whose properties are arrays of values to iterate over.
Optional
options?: objectAn object containing one or more timing properties. When defined it is used instead of duration.
Returns Action
Actual action.
Defines an
Element.animate
animation from provided keyframes and options.