Closed foolip closed 7 years ago
https://w3c.github.io/input-events/#interface-InputEvent
[Constructor(DOMString typeArg, optional InputEventInit inputEventInitDict)] partial interface InputEvent { readonly attribute DOMString inputType; readonly attribute DataTransfer? dataTransfer; sequence<StaticRange> getTargetRanges(); };
Per https://heycam.github.io/webidl/#Constructor [Constructor] only means something for interfaces, not partial interfaces.
[Constructor]
Instead, it'll have to be:
partial interface InputEvent { readonly attribute DOMString inputType; readonly attribute DataTransfer? dataTransfer; sequence<StaticRange> getTargetRanges(); }; partial dictionary InputEventInit { DOMString inputType = ""; DataTransfer? dataTransfer = null; };
(Or similar.)
Thanks!
https://w3c.github.io/input-events/#interface-InputEvent
Per https://heycam.github.io/webidl/#Constructor
[Constructor]
only means something for interfaces, not partial interfaces.Instead, it'll have to be:
(Or similar.)