Navigator: hid property

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

The Navigator.hid read-only property returns an HID object providing methods for connecting to HID devices, listing attached HID devices, and event handlers for connected HID devices.

Where a defined Permissions Policy blocks WebHID usage, the Navigator.hid property will not be available.

Value

An HID object.

Specifications

Specification
WebHID API
# dom-navigator-hid

Browser compatibility

BCD tables only load in the browser

See also