The pause function

Stops playback of a Timeline.


pause(timeline, options)
    

Arguments

timeline

A Timeline.

options (optional)

An object holding playback options, where:

  • alternate (optional) defines if the next iteration should reverse current direction?
  • duration (optional) is the number of milliseconds that each iteration lasts.
  • initialIterations (optional) is the starting number of iterations.
  • iterations (optional) is the number of playback interations (additional to initialIterations).
  • reverse (optional) defines if the the first iteration should start in a reverse direction?
  • started (optional) is the UNIX timestamp of playback start.

Return value

None.