W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

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

From: Brian Birtles via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Dec 2017 04:24:44 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-279241546-1512447883-sysbot+gh@w3.org>
birtles has just created a new issue for https://github.com/w3c/csswg-drafts:

== [web-animations-1] suggestion: make Animation play method more convenient (add 'time' parameter) ==
_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_

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2051 using your GitHub account
Received on Tuesday, 5 December 2017 04:24:47 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC