Search.../

PlayableMixin

Provides functionality for elements that can be played.

Properties

Store values associated with an object

  • isPlaying

    Indicates if the element is currently playing.

Functions

Perform actions on an object

  • next( )

    Moves to the next item.

  • onPause( )

    Adds an event handler that runs when playback is paused.

  • onPlay( )

    Adds an event handler that runs when playback is started or restarted.

  • pause( )

    Pauses playback.

  • play( )

    Begins or resumes playback.

  • previous( )

    Moves to the previous image or slide.