Type Definitions


Name Type Description
duration? number The duration property defines how long an animation should take to complete one cycle.
fillMode? "none" | "forwards" | "backwards" | "both" The fillMode property specifies a style for the element when the animation is not playing (before it starts, after it ends, or both).
iterationCount? "infinite" | number The iterationCount property specifies the number of times an animation should be played.
easing? array | function The easing(timing-function) specifies the speed curve of an animation.
delay? number The delay property specifies a delay for the start of an animation.
direction? "normal" | "reverse" | "alternate" | "alternate-reverse" The direction property defines whether an animation should be played forwards, backwards or in alternate cycles.
The Animator options. Properties used in css animation.
  • Object