Global

Type Definitions

DirectionType

Source:
Type:
  • "normal" | "reverse" | "alternate" | "alternate-reverse"

EasingFunctionInterface

Source:
Properties:
Name Type Description
easingName string
Type:
  • TSInterface

EasingType

Source:
Type:

EventType

Source:
Type:
  • ["paused", "ended", "timeupdate", "animate", "play", "iteration"]

FillModeType

Source:
Type:
  • "forwards" | "backwards" | "both"

IterationCountType

Source:
Type:
  • number | "infinite"

NameType

Source:
Type:
  • string | number

OptionType

Source:
Type:
  • ["duration", "fillMode", "direction", "iterationCount", "delay", "easing", "playSpeed"]

PlayStateType

Source:
Type:
  • "paused" | "running"

PropertyObjectInterface

Source:
Properties:
Name Type Description
prefix string
suffix string
model string
type string
separator string
Type:
  • TSInterface

Role

Source:
Type:

RoleInterface

Source:
Properties:
Name Type Description
[role: string] Role
Type:
  • TSInterface

StateInterface

Source:
Properties:
Name Type Attributes Description
duration number <optional>
The duration property defines how long an animation should take to complete one cycle.
fillMode "none" | "forwards" | "backwards" | "both" <optional>
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 <optional>
The iterationCount property specifies the number of times an animation should be played.
easing array | function <optional>
The easing(timing-function) specifies the speed curve of an animation.
delay number <optional>
The delay property specifies a delay for the start of an animation.
direction "normal" | "reverse" | "alternate" | "alternate-reverse" <optional>
The direction property defines whether an animation should be played forwards, backwards or in alternate cycles.
The Animator options. Properties used in css animation.
Type:
  • Object