Skip to content

Commit

Permalink
Merge pull request #147 from dontcallmedom/events-markup
Browse files Browse the repository at this point in the history
Mark up definition of events as such
  • Loading branch information
markafoltz authored Jun 8, 2022
2 parents a2e218f + 91743c3 commit 80754d9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -957,8 +957,8 @@ <h4>
Fulfill |promise|.
</li>
<li>
<a>Queue a task</a> to <a>fire an event</a> with the
name <a>connecting</a> at the <a data-lt=
<a>Queue a task</a> to <a>fire an event</a> named
<a>connecting</a> at the <a data-lt=
"RemotePlayback">remote</a> property of the <a>media
element</a>. The event must not bubble, must not be
cancelable, and has no default action.
Expand Down Expand Up @@ -1097,7 +1097,7 @@ <h4>
<a data-link-for="RemotePlaybackState">disconnected</a>.
</li>
<li>
<a>Fire an event</a> named <a>disconnect</a> at |remote|.
<a>Fire an event</a> named {{RemotePlayback/disconnect}} at |remote|.
</li>
</ol>
</li>
Expand Down Expand Up @@ -1283,7 +1283,7 @@ <h4>
Change the |remote|'s `state` to `disconnected`.
</li>
<li>
<a>Fire an event</a> with the name <a>disconnect</a> at |remote|.
<a>Fire an event</a> named {{RemotePlayback/disconnect}} at |remote|.
</li>
<li>
Synchronize the current <a>media element state</a> with the
Expand All @@ -1300,7 +1300,7 @@ <h4>
available remote playback devices</a> before the steps to
<a>disconnect from a remote playback device</a>. This allows
callbacks in the <a>set of availability callbacks</a> to be invoked
before the <a>disconnect</a> event is fired, so the page can update
before the {{RemotePlayback/disconnect}} event is fired, so the page can update
itself to show resumption of playback is not possible.
</p>
<div class="note">
Expand Down Expand Up @@ -1339,23 +1339,23 @@ <h4>
<dfn>`onconnecting`</dfn>
</td>
<td>
<dfn>`connecting`</dfn>
<dfn data-dfn-type="event">`connecting`</dfn>
</td>
</tr>
<tr>
<td>
<dfn>`onconnect`</dfn>
</td>
<td>
<dfn>`connect`</dfn>
<dfn data-dfn-type="event">`connect`</dfn>
</td>
</tr>
<tr>
<td>
<dfn>`ondisconnect`</dfn>
</td>
<td>
<dfn>`disconnect`</dfn>
<dfn data-dfn-type="event">`disconnect`</dfn>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 80754d9

Please sign in to comment.