Firefox Tomorrow

web api instance property

Navigator: virtualKeyboard property

View on MDN ↗

Limited availabilitySecure context

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.