Re: [csswg-drafts] [web-animations-1] Should async playback methods return the `ready` Promise?

My immediate expectation when seeing:

```javascript
anim.play().then(() => {
    // do stuff
});
```

was indeed that it would run the callback _after_ the animation had finished. That's just how it reads to me.

-- 
GitHub Notification of comment by graouts
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2206#issuecomment-358909288 using your GitHub account

Received on Friday, 19 January 2018 09:17:03 UTC