Re: [w3c/gamepad] Make eventInitDict param optional in GamepadEvent constructor (PR #217)

@marcoscaceres 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 = {});

We probably need to remove the `required` from GamepadEventInit's `gamepad`. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/217#pullrequestreview-2361600831
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/217/review/2361600831@github.com>

Received on Thursday, 10 October 2024 23:25:13 UTC