Timeline methods

Methods available on the Timeline instance returned by a createTimeline() function, providing control over the timing, behaviour, and progression of a timeline.

const timeline = createTimeline(parameters);
         ┌──────────┐
timeline.│pause()   │
timeline.│play()    ├─ Methods
timeline.│restart() │
         └──────────┘