interface AnimationPlaybackLifecycles<V> {
    onComplete?: (() => void);
    onPlay?: (() => void);
    onRepeat?: (() => void);
    onStop?: (() => void);
    onUpdate?: ((latest) => void);
}

Type Parameters

  • V

Hierarchy (view full)

Properties

onComplete?: (() => void)

Type declaration

    • (): void
    • Returns void

onPlay?: (() => void)

Type declaration

    • (): void
    • Returns void

onRepeat?: (() => void)

Type declaration

    • (): void
    • Returns void

onStop?: (() => void)

Type declaration

    • (): void
    • Returns void

onUpdate?: ((latest) => void)

Type declaration

    • (latest): void
    • Parameters

      • latest: V

      Returns void

Generated using TypeDoc