MDN self-hosted library · e01.org

Navigator: virtualKeyboard property

VirtualKeyboard

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

VirtualKeyboard

The virtualKeyboard read-only property of the navigator interface returns a reference to the VirtualKeyboard instance object.

The VirtualKeyboard API gives developers control over the layout of their applications when the on-screen virtual keyboard appears and disappears on devices such as tablets, mobile phones, or other devices where a hardware keyboard may not be available.

Value

A VirtualKeyboard object you can use to opt-out of the automatic virtual keyboard behavior, show or hide the virtual keyboard programmatically, and get the current position and size of the virtual keyboard.

Specifications

Browser compatibility