scrambleText callbacks

Execute functions during the scramble text animation.
Callbacks Function are specified directly in the scrambleText() parameters Object.

animate(target, {
  innerHTML: scrambleText({
    text: 'Hello World',
    chars: 'uppercase',
  ┌────────────────────┐
  │ onChange: () => {} ├─ Callbacks
  └────────────────────┘
  }),
});