Animation methods

Methods available on the Animation instance returned by an animate() function, providing control over the timing, behaviour, and progression of an animation.

const animation = animate(target, parameters);
          ┌──────────┐
animation.│pause()   │
animation.│play()    ├─ Methods
animation.│restart() │
          └──────────┘