Animation » Animation events
Animation events
As you know, there are user-generated events like onTap
, onTouchStart
, etc. You can listen to them to trigger an action.
But animations also emit events. They can signal when an animation started, stopped, or ran until the end.
Animation events are emitted both by the layer that’s being animated and by the Animation object. You can listen to either one.
See the ‘Events’ chapter for more information or how to use them to chain animations.