Stop all animations that were created with applyTo.
Apply this animation to an HTML element or array of HTML elements. Embeds a style element in the HTML document with the animations and keyframes, and then sets the CSS of the given HTML elements to use those animations.
Promise that resolves once the animation is completed and the animation style removed. Infinite animations never resolve.
Retrieve keyframes to embed as CSS or as an array of Animation Keyframe objects to use with Web Animation API.
Defaults to 'webapi'
Output options. See KeyframeOptions
CSS or array of objects depending on the type given
Sets the simple effect to use.
Name of the effect
Specific effect options
Does the browser have CSS support for animations?
Choose from a variety of basic 2D animations.
See SimpleEffects for a list of effects to choose from and their options.
Basic Usage
new Simple() .set('shake') .get();