USBDevice.vendorId

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The vendorId read only property of the USBDevice interface is the official usg.org-assigned vendor ID.

Syntax

var serialNumber = USBDevice.vendorId

Value

The official usg.org-assigned vendor ID.

Specifications

Specification Status Comment
WebUSB
The definition of 'vendorId' in that specification.
Draft Initial definition.

Browser compatibility

BCD tables only load in the browser