Keyboard:unlock() 方法
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Keyboard
接口的 unlock()
方法解锁所有被 Keyboard.lock()
方法捕获的键并同步返回。
语法
js
unlock()
参数
无。
返回值
无(undefined
)。
规范
Specification |
---|
Keyboard Lock # h-keyboard-unlock |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
unlock |
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.
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.