Back to Content

Keyboard: unlock() method

files/en-us/web/api/keyboard/unlock/index.md

latest423 B
Original Source

{{APIRef("Keyboard API")}}{{SeeCompatTable}}{{securecontext_header}}

The unlock() method of the {{domxref("Keyboard")}} interface unlocks all keys captured by the {{domxref('Keyboard.lock()')}} method and returns synchronously.

Syntax

js-nolint
unlock()

Parameters

None.

Return value

None ({{jsxref("undefined")}}).

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}