Skip to content

Commit

Permalink
Add global event handler attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz committed Dec 21, 2020
1 parent bafd0eb commit bc70b7f
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions index.html
Expand Up @@ -798,13 +798,29 @@ <h3>
button.</i>
</p>
</section>
<section id="permission-policy" data-cite="Feature-Policy">
<section>
<h2>
Extensions to the <code>GlobalEventHandlers</code> Interface Mixin
</h2>
<p>
This specification extends the {{GlobalEventHandlers}} interface mixin
from HTML to add [=event handler IDL attributes=] to facilitate the
event handler registration.
</p>
<pre class="idl">
partial interface mixin GlobalEventHandlers {
attribute EventHandler ongamepadconnected;
attribute EventHandler ongamepaddisconnected;
};
</pre>
</section>
<section id="permission-policy" data-cite="permissions-policy">
<h2>
Integration with Permissions Policy
</h2>
<p>
This specification defines a policy-controlled feature identified by
the string "`gamepad`". Its <a>default allowlist</a> is '`self`'.
the string "`gamepad`". Its [=default allowlist=] is '`self`'.
</p>
<div class="note">
<p>
Expand Down

0 comments on commit bc70b7f

Please sign in to comment.