Skip to content

[web-animations-1] suggestion: make Animation play method more convenient (add 'time' parameter) #2051

@birtles

Description

@birtles

From @forceuser on July 30, 2015 16:18

Is it possible to add "time" parameter to Animation.prototype.play(time), it will set starting point of animation and will be shorhand for setting currentTime property.
Now it takes two steps:

animation.play();
animation.currentTime = 1200;

Copied from original issue: w3c/web-animations#103

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions