Definition
Keyboard Lock defines Keyboard
[SecureContext, Exposed=Window]
interface Keyboard : EventTarget {
Promise<undefined> lock(optional sequence<DOMString> keyCodes = []);
undefined unlock();
};
This interface is extended in the following specifications:
- Keyboard Map
partial interface Keyboard { Promise<KeyboardLayoutMap> getLayoutMap(); attribute EventHandler onlayoutchange; };
Consolidated IDL (across mixin and partials)
[SecureContext, Exposed=Window]
interface Keyboard : EventTarget {
Promise<undefined> lock(optional sequence<DOMString> keyCodes = []);
undefined unlock();
Promise<KeyboardLayoutMap> getLayoutMap();
attribute EventHandler onlayoutchange;
};
Methods and attributes that return objects implementing Keyboard
Referring IDL interfaces/dictionaries
Referring specifications
- Keyboard Map refers to
Keyboard