We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The GamepadEvent constructor is defined with two required parameters:
constructor(DOMString type, GamepadEventInit eventInitDict);
This differs from the signature in implementations which define the second parameter as optional (blink, Gecko, WebKit):
constructor(DOMString type, optional GamepadEventInit eventInitDict = {}); // blink constructor(DOMString type, optional GamepadEventInit eventInitDict = {}); // Gecko constructor([AtomString] DOMString type, optional GamepadEventInit eventInitDict); // WebKit
The text was updated successfully, but these errors were encountered:
Make eventInitDict param optional in GamepadEvent constructor
2680e16
Closes #216
Successfully merging a pull request may close this issue.
The GamepadEvent constructor is defined with two required parameters:
This differs from the signature in implementations which define the second parameter as optional (blink, Gecko, WebKit):
The text was updated successfully, but these errors were encountered: