mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 08:56:40 +00:00
LibWeb: Add spec links for the KeyboardEvent IDL
Mostly for convenience.
This commit is contained in:
parent
ddf4f6f44f
commit
2945e4b8e9
|
@ -1,5 +1,6 @@
|
|||
#import <UIEvents/EventModifier.idl>
|
||||
|
||||
// https://www.w3.org/TR/uievents/#idl-keyboardevent
|
||||
[Exposed=Window, UseNewAKString]
|
||||
interface KeyboardEvent : UIEvent {
|
||||
|
||||
|
@ -30,6 +31,7 @@ interface KeyboardEvent : UIEvent {
|
|||
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/uievents/#dictdef-keyboardeventinit
|
||||
dictionary KeyboardEventInit : EventModifierInit {
|
||||
DOMString key = "";
|
||||
DOMString code = "";
|
||||
|
|
Loading…
Reference in a new issue