- From: Matt Reynolds <notifications@github.com>
- Date: Thu, 10 Oct 2024 17:51:38 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 11 October 2024 00:51:42 UTC
@nondebug commented on this pull request.
> @@ -1752,7 +1752,7 @@ <h2>
[Exposed=Window]
interface GamepadEvent: Event {
- constructor(DOMString type, GamepadEventInit eventInitDict);
+ constructor(DOMString type, optional GamepadEventInit eventInitDict = {});
Blink, Gecko, WebKit agree that GamepadEventInit's `gamepad` attribute is optional and nullable, let's update the spec to match.
```
Gamepad? gamepad; // blink
Gamepad? gamepad = null; // Gecko
Gamepad? gamepad = null; // WebKit
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/217#discussion_r1796278859
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/217/review/2361710374@github.com>
Received on Friday, 11 October 2024 00:51:42 UTC