Keyboard:unlock() 方法
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)
Keyboard
接口的 unlock()
方法解锁所有被 Keyboard.lock()
方法捕获的键并同步返回。
语法
js
unlock()
参数
无。
返回值
无(undefined
)。
规范
Specification |
---|
Keyboard Lock # h-keyboard-unlock |
浏览器兼容性
BCD tables only load in the browser