Skip to content

Commit

Permalink
Make eventInitDict param optional in GamepadEvent constructor
Browse files Browse the repository at this point in the history
Closes #216
  • Loading branch information
nondebug committed Oct 10, 2024
1 parent 576061a commit 2680e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ <h2>
[Exposed=Window]

interface GamepadEvent: Event {
constructor(DOMString type, GamepadEventInit eventInitDict);
constructor(DOMString type, optional GamepadEventInit eventInitDict);
[SameObject] readonly attribute Gamepad gamepad;
};
</pre>
Expand Down

0 comments on commit 2680e16

Please sign in to comment.