mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:47:46 +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
|
@ -35,6 +35,7 @@ public:
|
|||
|
||||
HTML::Window const* view() const { return m_view; }
|
||||
int detail() const { return m_detail; }
|
||||
virtual u32 which() const { return 0; }
|
||||
|
||||
void init_ui_event(String const& type, bool bubbles, bool cancelable, HTML::Window* view, int detail)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue