W3cubDocs

/Haxe JavaScript

KeyframeEffectReadOnly

package js.html

extends AnimationEffectReadOnly

extended by KeyframeEffect

Available on js

The KeyframeEffectReadOnly interface of the Web Animations API describes sets of animatable properties and values that can be played using the Animation.Animation() constructor, and which are inherited by KeyframeEffect.

Documentation KeyframeEffectReadOnly 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

Variables

read only composite:CompositeOperation

The composite operation property for resolving the property value changes between this and other keyframe effects.

read only iterationComposite:IterationCompositeOperation

The iteration composite operation for resolving the property value changes of this keyframe effect.

read only spacing:String

The temporal spacing of the keyframe effect's iterations

read only target:EitherType<Element, CSSPseudoElement>

The element or pseudo-element being animated by this object. This may be null for animations that do not target a specific element.

Methods

getFrames ():Array<Dynamic>

Throws:

null DOMError

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