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
http://wicg.github.io/webusb/#events
It has a constructor in Chromium: https://chromium.googlesource.com/chromium/src/+/2fe96ea775a73ad5dcc05105f57be096d302baa2/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl
But unless device is made nullable, some tweaks are needed to ensure that it's never null, a non-optional dict with a required member:
device
[Constructor(DOMString type, USBConnectionEventInit eventInitDict)] interface USBConnectionEventB : Event { [SameObject] readonly attribute USBDevice device; }; dictionary USBConnectionEventInit : EventInit { required USBDevice device; };
The text was updated successfully, but these errors were encountered:
Add a constructor for USBConnectionEvent.
eb69464
This resolve issue #63.
Great, thank you!
Sorry, something went wrong.
No branches or pull requests
http://wicg.github.io/webusb/#events
It has a constructor in Chromium:
https://chromium.googlesource.com/chromium/src/+/2fe96ea775a73ad5dcc05105f57be096d302baa2/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl
But unless
device
is made nullable, some tweaks are needed to ensure that it's never null, a non-optional dict with a required member:The text was updated successfully, but these errors were encountered: