Video

Video

Implements:

Members

name :string

Name of the animation.

Type:
  • string

state :string

State of the animation.

Type:
  • string

Methods

pause() → {Promise}

Implements:

Pauses playing animation.

Returns:

resolved when done.

Type
Promise

resume() → {Promise}

Implements:

Resumes paused animation.

Returns:

resolved when done.

Type
Promise

start(timeInMsnullable, loopnullable) → {Promise}

Implements:

Starts the animation from specified time.

Parameters:
Name Type Attributes Description
timeInMs number <nullable>

starting time

loop boolean <nullable>

whether or not the animation should loop

Returns:

resolved when done.

Type
Promise

stop() → {Promise}

Implements:

Stops playing animation. Resets current time to zero.

Returns:

resolved when done.

Type
Promise