- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Tue, 16 Mar 2021 03:03:42 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 March 2021 10:03:54 UTC
@saschanaz commented on this pull request. > @@ -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 { Checked some precedents and it seems anything using `partial interface Window` for adding event handlers are deprecated. (from https://w3c.github.io/deviceorientation/#idl-index, WebVR and some obsolete specs). Doing `WindowEventHandlers` also allows `<body ongamepadconnected="">` which is probably a good thing. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/pull/144#discussion_r595021099
Received on Tuesday, 16 March 2021 10:03:54 UTC