USBDevice: thuộc tính vendorId

Khả dụng hạn chế

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Note: This feature is available in Web Workers.

Thuộc tính chỉ đọc vendorId của giao diện USBDevice là ID nhà cung cấp chính thức do usb.org cấp.

Giá trị

ID nhà cung cấp chính thức do usb.org cấp.

Thông số kỹ thuật

Thông số kỹ thuật
WebUSB API
# dom-usbdevice-vendorid

Tương thích trình duyệt