mirror of
https://github.com/servo/servo.git
synced 2025-07-01 20:43:39 +01:00
13 lines
408 B
Text
13 lines
408 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content of this file was automatically extracted from the
|
|
// "Keyboard Lock" spec.
|
|
// See: https://w3c.github.io/keyboard-lock/
|
|
|
|
partial interface Navigator {
|
|
[SecureContext, SameObject] readonly attribute Keyboard keyboard;
|
|
};
|
|
|
|
[SecureContext, Exposed=Window] interface Keyboard {
|
|
Promise<void> lock(optional sequence<DOMString> keyCodes = []);
|
|
void unlock();
|
|
};
|