1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

LibWeb: Add EventTarget.removeEventListener()

This commit is contained in:
Andreas Kling 2020-06-21 12:37:34 +02:00
parent d724a12732
commit 244b243d22
3 changed files with 9 additions and 0 deletions

View file

@ -44,6 +44,7 @@ public:
void unref() { unref_event_target(); }
void add_event_listener(const FlyString& event_name, NonnullRefPtr<EventListener>);
void remove_event_listener(const FlyString& event_name, NonnullRefPtr<EventListener>);
virtual void dispatch_event(NonnullRefPtr<Event>) = 0;