WebIDLpedia

USBConnectionEvent interface

Definition

WebUSB API defines USBConnectionEvent



[
  Exposed=(Worker,Window),
  SecureContext
]
interface USBConnectionEvent : Event {
  constructor(DOMString type, USBConnectionEventInit eventInitDict);
  [SameObject] readonly attribute USBDevice device;
};

Methods and attributes that return objects implementing USBConnectionEvent