HIDConnectionEvent() constructor creates a new
HIDConnectionEvent object. Typically this constructor is not used as events are created when an input report is received.
new HIDConnectionEvent(type, HIDConnectionEventInit);
DOMStringwith one of
- A dictionary including the following fields:
HIDDeviceinstance representing the device sending the input report.
Booleanindicating whether the event bubbles. The default is
Booleanindicating whether the event can be cancelled. The default is
Booleanindicating whether the event will trigger listeners outside of a shadow root (see
Event.composedfor more details). The default is
|WebHID API |
BCD tables only load in the browser