blob: 3aaf9f3755b7c8a811ea4cd3ad7610779c1e66bf [file] [log] [blame]
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Keyboard Lock (https://wicg.github.io/keyboard-lock/)
partial interface Navigator {
[SecureContext, SameObject] readonly attribute Keyboard keyboard;
};
[SecureContext, Exposed=Window] interface Keyboard {
Promise<undefined> lock(optional sequence<DOMString> keyCodes = []);
undefined unlock();
};