mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
LibWeb: Add spec links for the KeyboardEvent IDL
Mostly for convenience.
This commit is contained in:
parent
ddf4f6f44f
commit
2945e4b8e9
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#import <UIEvents/EventModifier.idl>
|
#import <UIEvents/EventModifier.idl>
|
||||||
|
|
||||||
|
// https://www.w3.org/TR/uievents/#idl-keyboardevent
|
||||||
[Exposed=Window, UseNewAKString]
|
[Exposed=Window, UseNewAKString]
|
||||||
interface KeyboardEvent : UIEvent {
|
interface KeyboardEvent : UIEvent {
|
||||||
|
|
||||||
|
@ -30,6 +31,7 @@ interface KeyboardEvent : UIEvent {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// https://www.w3.org/TR/uievents/#dictdef-keyboardeventinit
|
||||||
dictionary KeyboardEventInit : EventModifierInit {
|
dictionary KeyboardEventInit : EventModifierInit {
|
||||||
DOMString key = "";
|
DOMString key = "";
|
||||||
DOMString code = "";
|
DOMString code = "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue