mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +00:00
LibWeb: Add "which" attribute to UIEvent
This is non-standard but is supported by all major browsers.
This commit is contained in:
parent
1b94b4c593
commit
7f45a9e9c1
4 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,8 @@ interface UIEvent : Event {
|
|||
|
||||
// NOTE: This is "deprecated, but supported for backwards-compatibility with widely-deployed implementations."
|
||||
[ImplementedAs=init_ui_event] undefined initUIEvent(DOMString typeArg, optional boolean bubblesArg = false, optional boolean cancelableArg = false, optional Window? viewArg = null, optional long detailArg = 0);
|
||||
|
||||
readonly attribute unsigned long which;
|
||||
};
|
||||
|
||||
dictionary UIEventInit : EventInit {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue