Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an animation provider that is capable of animating between instances of AnimationKeyframe. An animation provider may execute the frame in any given way, and it must invoke the callback with an AnimationEvent.

Hierarchy

  • AnimationProvider

Implemented by

Index

Methods

Methods

animate

  • Handles a keyframe in an AnimationSequence.

    Parameters

    • animation: AnimationSequence

      The animation itself.

    • element: HTMLElement

      The HTML element to provide the frame for.

    • currentFrame: AnimationKeyframe

      The current animation frame. This will be null for the first frame.

    • nextFrame: AnimationKeyframe

      The next animation frame. This will be null for the last frame.

    • callback: function

      The callback to invoke once the frame has completed.

    Returns any