Skip to content

Commit

Permalink
[zh-CN]: add translation for Keyboard.unlock()
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Oct 23, 2024
1 parent 5c52aa3 commit 5a2c0a1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions files/zh-cn/web/api/keyboard/unlock/index.md
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}}

0 comments on commit 5a2c0a1

Please sign in to comment.