Skip to content

Commit

Permalink
Add window 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 2c7ed4e
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
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>WindowEventHandlers</code> Interface Mixin
</h2>
<p>
This specification extends the {{WindowEventHandlers}} interface mixin
from HTML to add [=event handler IDL attributes=] to facilitate the
event handler registration.
</p>
<pre class="idl">
partial interface mixin WindowEventHandlers {
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 2c7ed4e

Please sign in to comment.