Navigator: keyboard property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
Thekeyboard read-only propertyof theNavigator interface returns aKeyboard objectwhich provides access to functions that retrieve keyboard layout maps and togglecapturing of key presses from the physical keyboard.
In this article
Value
AKeyboard object.
Specifications
| Specification |
|---|
| Keyboard Lock> # h-navigator-keyboard> |