Raw File
keyboard-lock.idl
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: Keyboard Lock (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();
};
back to top