Navigator: virtualKeyboard property
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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
| Specification |
|---|
| VirtualKeyboard API # dom-navigator-virtualkeyboard |
Browser compatibility
BCD tables only load in the browser