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:
parent
d724a12732
commit
244b243d22
3 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue