mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:37:46 +00:00
LibWeb: Replace ad-hoc EventHandler type with callback function typedef
This commit is contained in:
parent
1c4f128fd1
commit
f45d361f03
12 changed files with 15 additions and 23 deletions
3
Userland/Libraries/LibWeb/DOM/EventHandler.idl
Normal file
3
Userland/Libraries/LibWeb/DOM/EventHandler.idl
Normal file
|
@ -0,0 +1,3 @@
|
|||
[LegacyTreatNonObjectAsNull]
|
||||
callback EventHandlerNonNull = any (Event event);
|
||||
typedef EventHandlerNonNull? EventHandler;
|
Loading…
Add table
Add a link
Reference in a new issue