-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zh-CN]: add translation for
Keyboard.unlock()
- Loading branch information
1 parent
5c52aa3
commit 5a2c0a1
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: Keyboard:unlock() 方法 | ||
slug: Web/API/Keyboard/unlock | ||
l10n: | ||
sourceCommit: eab4066e72d5478de920e4020e5db71214dcffa6 | ||
--- | ||
|
||
{{APIRef("Keyboard API")}}{{SeeCompatTable}}{{securecontext_header}} | ||
|
||
{{domxref("Keyboard")}} 接口的 **`unlock()`** 方法解锁所有被 {{domxref('Keyboard.lock()')}} 方法捕获的键并同步返回。 | ||
|
||
## 语法 | ||
|
||
```js-nolint | ||
unlock() | ||
``` | ||
|
||
### 参数 | ||
|
||
无。 | ||
|
||
### 返回值 | ||
|
||
无({{jsxref("undefined")}})。 | ||
|
||
## 规范 | ||
|
||
{{Specifications}} | ||
|
||
## 浏览器兼容性 | ||
|
||
{{Compat}} |