MDN self-hosted library · e01.org

Navigator: keyboard property

Keyboard API

no runnable cells web-api-instance-property upstream source

Keyboard API

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

Value

A Keyboard object.

Specifications

Browser compatibility