KeyframeEffect class
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The 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.
AnimationEffect
KeyframeEffect
- Implemented types
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- KeyframeEffect([Element? target, dynamic keyframes, dynamic options])
-
factory
Properties
- composite ↔ CompositeOperation
-
Available on KeyframeEffect, provided by the PropsKeyframeEffect extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- iterationComposite ↔ IterationCompositeOperation
-
Available on KeyframeEffect, provided by the PropsKeyframeEffect extension
getter/setter pair - nextSibling → AnimationEffect?
-
Available on AnimationEffect, provided by the PropsAnimationEffect extension
no setter - parent → GroupEffect?
-
Available on AnimationEffect, provided by the PropsAnimationEffect extension
no setter - previousSibling → AnimationEffect?
-
Available on AnimationEffect, provided by the PropsAnimationEffect extension
no setter - pseudoElement ↔ String?
-
Available on KeyframeEffect, provided by the PropsKeyframeEffect extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target ↔ Element?
-
Available on KeyframeEffect, provided by the PropsKeyframeEffect extension
getter/setter pair
Methods
-
after(
[AnimationEffect? effects1, AnimationEffect? effects2, AnimationEffect? effects3]) → void -
Available on AnimationEffect, provided by the PropsAnimationEffect extension
-
before(
[AnimationEffect? effects1, AnimationEffect? effects2, AnimationEffect? effects3]) → void -
Available on AnimationEffect, provided by the PropsAnimationEffect extension
-
getComputedTiming(
) → ComputedEffectTiming -
Available on AnimationEffect, provided by the PropsAnimationEffect extension
-
getKeyframes(
) → Iterable -
Available on KeyframeEffect, provided by the PropsKeyframeEffect extension
-
getTiming(
) → EffectTiming -
Available on AnimationEffect, provided by the PropsAnimationEffect extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
) → void -
Available on AnimationEffect, provided by the PropsAnimationEffect extension
-
replace(
[AnimationEffect? effects1, AnimationEffect? effects2, AnimationEffect? effects3]) → void -
Available on AnimationEffect, provided by the PropsAnimationEffect extension
-
setKeyframes(
dynamic keyframes) → void -
Available on KeyframeEffect, provided by the PropsKeyframeEffect extension
-
toString(
) → String -
A string representation of this object.
inherited
-
updateTiming(
[OptionalEffectTiming? timing]) → void -
Available on AnimationEffect, provided by the PropsAnimationEffect extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited