mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 17:02:56 +00:00
20 lines
607 B
Text
20 lines
607 B
Text
#import <UIEvents/UIEvent.idl>
|
|
#import <DOM/StaticRange.idl>
|
|
|
|
// https://w3c.github.io/uievents/#inputevent
|
|
[Exposed=Window]
|
|
interface InputEvent : UIEvent {
|
|
constructor(DOMString type, optional InputEventInit eventInitDict = {});
|
|
readonly attribute USVString? data;
|
|
readonly attribute boolean isComposing;
|
|
readonly attribute DOMString inputType;
|
|
|
|
sequence<StaticRange> getTargetRanges();
|
|
};
|
|
|
|
// https://w3c.github.io/uievents/#dictdef-inputeventinit
|
|
dictionary InputEventInit : UIEventInit {
|
|
DOMString? data = null;
|
|
boolean isComposing = false;
|
|
DOMString inputType = "";
|
|
};
|