This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

play

Summary

Creates a new AnimationPlayer object associated with this timeline that begins playback as soon as it is ready.

Method of apis/web_animations/AnimationTimelineapis/web_animations/AnimationTimeline

Syntax

var result = element.play(source);

Parameters

source

Data-type
String

(Optional)

If source is specified, it will be used as the newly-created AnimationPlayer’s source content.

Return Value

Returns an object of type

See also

Related articles

Animation