Back to Content

Navigator: hid property

files/en-us/web/api/navigator/hid/index.md

latest623 B
Original Source

{{APIRef("WebHID API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The Navigator.hid read-only property returns an {{domxref("HID")}} object providing methods for accessing HID device connections and events that fire when the user agent connects to or disconnects from a device.

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

Value

An {{domxref("HID")}} object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also