Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

AnimationOptions

Type Alias AnimationOptions

AnimationOptions: {
    delay?: number;
    duration?: number;
    iterationCount?: number;
    playbackRate?: number;
    playState?: AnimationPlayState;
    time?: number;
    timingFunction?: AnimationTimingFunction;
}

The AnimationOptions provide additional options of a whole animation sequence.

Type declaration

  • Optionaldelay?: number

    The initial delay of the animation sequence.

    0
    
  • Optionalduration?: number

    The total duration of the animation sequence in milliseconds.

    1000
    
  • OptionaliterationCount?: number

    The number of iterations of the animation sequence.

    1
    
  • OptionalplaybackRate?: number

    The playback rate of the animation sequence.

    1
    
  • OptionalplayState?: AnimationPlayState

    The play state of the animation sequence.

    AnimationPlayState.INITIAL
    
  • Optionaltime?: number

    The current time of the animation sequence between 0 and the total duration.

    0
    
  • OptionaltimingFunction?: AnimationTimingFunction

    The timing function used for the interpolation.

    AnimationTimingFunction.LINEAR