Back to Content

Navigator: keyboard property

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

latest446 B
Original Source

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

The keyboard read-only property of the {{domxref("Navigator")}} interface returns a {{domxref('Keyboard')}} object which provides access to functions that retrieve keyboard layout maps and toggle capturing of key presses from the physical keyboard.

Value

A {{domxref('Keyboard')}} object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}