Registers an event handler that runs when the text particles animation pauses.
handler(event: Event): void The method to run when the animation is paused.
handler(event: Event): void