Skip to content

Commit 1bd8a13

Browse files
birtlessvgeesus
authored andcommitted
Add promises to AnimationPlayer interface
1 parent a4ce655 commit 1bd8a13

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

web-animations/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5709,6 +5709,22 @@ <h3>The <code>AnimationPlayer</code> interface</h3>
57095709
Setting this attribute follows the procedure to <a>update the player
57105710
playback rate</a> of this object to the new value.
57115711
</dd>
5712+
<dt>readonly attribute Promise ready</dt>
5713+
<dd>
5714+
Returns the <a>current ready promise</a> for this object.
5715+
<p class="todo">
5716+
This should be <code>Promise&lt;AnimationPlayer&gt;</code> but
5717+
this version of respec doesn't support that.
5718+
</p>
5719+
</dd>
5720+
<dt>readonly attribute Promise finished</dt>
5721+
<dd>
5722+
Returns the <a>current finished promise</a> for this object.
5723+
<p class="todo">
5724+
This should be <code>Promise&lt;AnimationPlayer&gt;</code> but
5725+
this version of respec doesn't support that.
5726+
</p>
5727+
</dd>
57125728
<dt>readonly attribute boolean paused</dt>
57135729
<dd>
57145730
The <a>paused state</a> of this player.

0 commit comments

Comments
 (0)