WebIDLpedia

USBConnectionEvent interface

Definition

WebUSB API defines USBConnectionEvent



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

Methods and attributes that return objects implementing USBConnectionEvent