Navigator:keyboard 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
io error: No such file or directory (os error 2) (/home/runner/work/yari/yari/mdn/translated-content/files/zh-cn/web/api/keyboard_api/index.md)
Navigator
接口的只读属性 keyboard
返回一个 Keyboard
对象,通过该对象可访问检索键盘布局映射和切换捕捉物理键盘按键的函数。
值
一个 Keyboard
对象。
规范
Specification |
---|
Keyboard Lock # h-navigator-keyboard |
浏览器兼容性
BCD tables only load in the browser