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
Does the browser have CSS support for animations?
Stop all animations that were created with applyTo.