diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-03-30 23:35:42 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-31 01:10:47 +0200 |
commit | f45d361f037509edc653e29c88ce591678e562fa (patch) | |
tree | bdfda1412ebd9db0a93a7021decdef10edbf4d7f /Userland/Libraries/LibWeb/DOM/EventHandler.idl | |
parent | 1c4f128fd126ea70c557114fe80d54ee4a7f8757 (diff) | |
download | serenity-f45d361f037509edc653e29c88ce591678e562fa.zip |
LibWeb: Replace ad-hoc EventHandler type with callback function typedef
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/EventHandler.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/EventHandler.idl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/EventHandler.idl b/Userland/Libraries/LibWeb/DOM/EventHandler.idl new file mode 100644 index 0000000000..afb8503383 --- /dev/null +++ b/Userland/Libraries/LibWeb/DOM/EventHandler.idl @@ -0,0 +1,3 @@ +[LegacyTreatNonObjectAsNull] +callback EventHandlerNonNull = any (Event event); +typedef EventHandlerNonNull? EventHandler; |