Back to Content

USBDevice: usbVersionMajor property

files/en-us/web/api/usbdevice/usbversionmajor/index.md

latest535 B
Original Source

{{APIRef("WebUSB API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}}

The usbVersionMajor read only property of the {{domxref("USBDevice")}} interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMinor and USBDevice.usbVersionSubminor.

Value

The last of three properties that declare the USB protocol version supported by the device.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}