KeyframeEffect extension type
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.Animation
constructor.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Constructors
- KeyframeEffect(JSObject? sourceOrTarget, [JSObject? keyframes, JSAny options])
- 
          
            factory
Properties
- asString → String
- 
      Available on JSAny, provided by the JSAnyExtension extension no setter
- asString → String?
- 
      Available on JSAny?, provided by the JSAnyNullableExtension extension no setter
- composite ↔ CompositeOperation
- 
  The compositeproperty of a KeyframeEffect resolves how an element's animation impacts its underlying property values.getter/setter pair
- 
  entries
  → Iterable<MapEntry< String, dynamic> >
- 
      Available on JSObject, provided by the JSObjectExtension extension no setter
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isDefinedAndNotNull → bool
- 
      Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension no setter
- isElement → bool
- 
      Available on JSObject?, provided by the JSObjectWebExtension extension no setter
- isHTMLElement → bool
- 
      Available on JSObject?, provided by the JSObjectWebExtension extension no setter
- isNode → bool
- 
      Available on JSObject?, provided by the JSObjectWebExtension extension no setter
- isNull → bool
- 
      Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension Whether this value corresponds to JavaScriptnull.no setter
- isTruthy → JSBoolean
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result of!!in JavaScript.thisno setter
- isUndefined → bool
- 
      Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension Whether this value corresponds to JavaScriptundefined.no setter
- isUndefinedOrNull → bool
- 
      Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension no setter
- iterationComposite ↔ IterationCompositeOperation
- 
  The iterationCompositeproperty of a KeyframeEffect resolves how the animation's property value changes accumulate or override each other upon each of the animation's iterations.getter/setter pair
- 
  keys
  → Iterable<String> 
- 
      Available on JSObject, provided by the JSObjectExtension extension no setter
- not → JSBoolean
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result of!in JavaScript.thisno setter
- pseudoElement ↔ String?
- 
  The pseudoElementproperty of a KeyframeEffect interface is a string representing the pseudo-element being animated. It may benullfor animations that do not target a pseudo-element. It performs as both a getter and a setter, except with animations and transitions generated by CSS.getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- target ↔ Element?
- 
  The targetproperty of a KeyframeEffect interface represents the element or pseudo-element being animated. It may benullfor animations that do not target a specific element. It performs as both a getter and a setter, except with animations and transitions generated by CSS.getter/setter pair
Methods
- 
  add(JSAny? any) → JSAny 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis+any
- 
  and(JSAny? any) → JSAny? 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis&&any
- 
  as<T extends JSObject> () → T? 
- 
      Available on JSObject, provided by the JSObjectExtension extension 
- 
  callMethod<R extends JSAny?> (JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → R 
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension Callsmethodon this JSObject with up to four arguments.
- 
  callMethodVarArgs<R extends JSAny?> (JSAny method, [List< JSAny?> ? arguments]) → R
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension Callsmethodon this JSObject with a variable number ofarguments.
- 
  dartify() → Object? 
- 
      Available on JSAny?, provided by the JSAnyUtilityExtension extension Converts a JavaScript JSON-like value to the Dart equivalent if possible.
- 
  delete(JSAny property) → JSBoolean 
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension Deletes the property with keypropertyfrom this JSObject.
- 
  divide(JSAny? any) → JSAny 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis/any
- 
  equals(JSAny? any) → JSBoolean 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis==any
- 
  exponentiate(JSAny? any) → JSAny 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis**any
- 
  get(String key) → Object? 
- 
      Available on JSObject, provided by the JSObjectExtension extension 
- 
  getComputedTiming() → ComputedEffectTiming 
- 
  The getComputedTiming()method of the AnimationEffect interface returns the calculated timing properties for this animation effect.inherited
- 
  getKeyframes() → JSArray< JSObject> 
- 
  The getKeyframes()method of a KeyframeEffect returns an Array of the computed keyframes that make up this animation along with their computed offsets.
- 
  getProperty<R extends JSAny?> (JSAny property) → R 
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension The value of the property keypropertyof this JSObject.
- 
  getTiming() → EffectTiming 
- 
  The AnimationEffect.getTiming()method of the AnimationEffect interface returns an object containing the timing properties for the Animation Effect.inherited
- 
  greaterThan(JSAny? any) → JSBoolean 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis>any
- 
  greaterThanOrEqualTo(JSAny? any) → JSBoolean 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis>=any
- 
  has(String property) → bool 
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension Shorthand helper for hasProperty to check whether this JSObject contains the property keyproperty, but takes and returns a Dart value.
- 
  hasProperty(JSAny property) → JSBoolean 
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension Whether or not this JSObject contains the property keyproperty.
- 
  instanceof(JSFunction constructor) → bool 
- 
      Available on JSAny?, provided by the JSAnyUtilityExtension extension Whether thisJSAny?is aninstanceofconstructor.
- 
  instanceOfString(String constructorName) → bool 
- 
      Available on JSAny?, provided by the JSAnyUtilityExtension extension Whether thisJSAny?is aninstanceofthe constructor that is defined byconstructorName, which is looked up in the globalContext.
- 
  isA<T extends JSAny?> () → bool 
- 
      Available on JSAny?, provided by the JSAnyUtilityExtension extension Whether thisJSAny?is an instance of the JavaScript type that is declared byT.
- 
  lessThan(JSAny? any) → JSBoolean 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis<any
- 
  lessThanOrEqualTo(JSAny? any) → JSBoolean 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis<=any
- 
  modulo(JSAny? any) → JSAny 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis%any
- 
  multiply(JSAny? any) → JSAny 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis*any
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  notEquals(JSAny? any) → JSBoolean 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis!=any
- 
  or(JSAny? any) → JSAny? 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis||any
- 
  put(Object key, Object? value) → void 
- 
      Available on JSObject, provided by the JSObjectExtension extension 
- 
  setKeyframes(JSObject? keyframes) → void 
- 
  The setKeyframes()method of the KeyframeEffect interface replaces the keyframes that make up the affectedKeyframeEffectwith a new set of keyframes.
- 
  setProperty(JSAny property, JSAny? value) → void 
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension Write thevalueof property keypropertyof this JSObject.
- 
  strictEquals(JSAny? any) → JSBoolean 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis===any
- 
  strictNotEquals(JSAny? any) → JSBoolean 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis!==any
- 
  subtract(JSAny? any) → JSAny 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis-any
- 
  toMap() → Map< String, dynamic> 
- 
      Available on JSObject, provided by the JSObjectExtension extension 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  typeofEquals(String typeString) → bool 
- 
      Available on JSAny?, provided by the JSAnyUtilityExtension extension Whether the result oftypeofon thisJSAny?istypeString.
- 
  unsignedRightShift(JSAny? any) → JSNumber 
- 
      Available on JSAny?, provided by the JSAnyOperatorExtension extension The result ofthis>>>any
- 
  updateTiming([OptionalEffectTiming timing]) → void 
- 
  The updateTiming()method of the AnimationEffect interface updates the specified timing properties for an animation effect.inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
- 
  operator [](String property) → JSAny? 
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension Shorthand helper for getProperty to get the value of the property keypropertyof this JSObject, but takes a Dart value.
- 
  operator []=(String property, JSAny? value) → void 
- 
      Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension Shorthand helper for setProperty to write thevalueof the property keypropertyof this JSObject, but takes a Dart value.