Navigator:virtualKeyboard 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
navigator
接口的 virtualKeyboard
只读属性返回对 VirtualKeyboard
实例对象的引用。
虚拟键盘 API 为开发人员提供了控制其应用程序布局的方法,在平板电脑、手机或其他可能没有硬件键盘的设备上,屏幕虚拟键盘会出现或消失。
值
一个 VirtualKeyboard
对象。通过该对象,你可以选择退出自动虚拟键盘行为、以编程方式显示或隐藏虚拟键盘,以及获取虚拟键盘的当前位置和大小。
规范
Specification |
---|
VirtualKeyboard API # dom-navigator-virtualkeyboard |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
virtualKeyboard |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.