Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AnimationSpec

Hierarchy

  • AnimationSpec

Index

Properties

Optional delay

delay?: Scriptable<number>

Delay before starting the animations.

default

0

Optional duration

duration?: Scriptable<number>

The number of milliseconds an animation takes.

default

1000

Optional easing

Easing function to use

default

'easeOutQuart'

Optional loop

loop?: Scriptable<boolean>

If set to true, the animations loop endlessly.

default

false

Optional onComplete

onComplete?: ScriptableFunction<void>

Callback called when all animations are completed.

Optional onProgress

onProgress?: ScriptableFunction<void>

Callback called on each step of an animation.

Optional radius

Optional x

Optional y

Generated using TypeDoc