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.

    "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.

    "linear"
    

Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: