Interface AnimationListener

interface AnimationListener {
    onAnimationStart: ((animation) => void);
    onAnimationEnd: ((animation) => void);
    onAnimationRepeat: ((animation) => void);
}

Properties

onAnimationStart: ((animation) => void)

Notifies the start of the animation.

Type declaration

    • (animation): void
    • Parameters

      Returns void

onAnimationEnd: ((animation) => void)

Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.

Type declaration

    • (animation): void
    • Parameters

      • animation: Animation

        The animation which reached its end.

      Returns void

onAnimationRepeat: ((animation) => void)

Notifies the repetition of the animation.

Type declaration

    • (animation): void
    • Parameters

      • animation: Animation

        The animation which was repeated.

      Returns void