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