这是 实验性技术
检查 浏览器兼容性表格 要小心谨慎在生产中使用这之前。

unlock() 方法在 键盘 interface unlocks all keys captured by the Keyboard.lock() method and returns synchronously.

句法

Keyboard.unlock()
					

参数

None.

返回值

undefined

规范

规范 状态 注释
Keyboard Map
The definition of 'Keyboard' in that specification.
编者草案 定义 键盘 接口。
Keyboard Lock
The definition of 'unlock()' in that specification.
编者草案 初始定义。

浏览器兼容性

The compatibility table in 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.

No compatibility data found. Please contribute data for "api.Keyboard.unlock()" (depth: 1) to the MDN 兼容性数据存储库 .

元数据

  • 最后修改:
  1. 键盘
  2. 方法
    1. getLayoutMap()
    2. lock()
    3. unlock()