W3cubDocs

/Haxe JavaScript

KeyframeEffect

package js.html

extends KeyframeEffectReadOnlyAnimationEffectReadOnly

Available on js

The KeyframeEffect interface of the Web Animations API lets us create sets of animatable properties and values, called keyframes. These can then be played using the Animation() constructor.

Documentation KeyframeEffect by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (target:EitherType<Element, CSSPseudoElement>, frames:Dynamic, ?options:EitherType<Float, Dynamic>)

Throws:

null DOMError

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/KeyframeEffect.html