Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The USBConnectionEvent
interface of the WebUSB API is the event type passed to USB
connect
and disconnect
events when the user agent detects that a new USB device has been connected or disconnected.