1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:57:42 +00:00
serenity/Libraries
Andreas Kling f39e5352f0 LibWeb: Start working on DOM event support
This patch adds the EventTarget class and makes Node inherit from it.

You can register event listeners on an EventTarget, and when you call
dispatch_event() on it, the event listeners will get invoked.

An event listener is basically a wrapper around a JS::Function*.

This is pretty far from how DOM events should eventually work, but it's
a place to start and we'll build more on top of this. :^)
2020-03-18 17:13:22 +01:00
..
LibAudio Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
LibBareMetal ACPI: Examine bit width in Generic address structure before asserting 2020-03-12 12:36:38 +01:00
LibC Kernel: Add sys$get_stack_bounds() for finding the stack base & size 2020-03-16 19:06:33 +01:00
LibCore LibCore: Moved cal.cpp functions to DateTime 2020-03-18 08:17:01 +01:00
LibELF Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
LibGfx LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
LibGUI HackStudio: Expand project tree view by default 2020-03-18 16:33:54 +01:00
LibIPC AK: Remove unnecessary casts to size_t, after Vector changes 2020-03-01 12:58:22 +01:00
LibJS LibJS: Tolerate NativeFunction::call() with non-object 'this' for now 2020-03-18 17:13:22 +01:00
LibM LibM: Implement floating point variants of various math functions 2020-02-25 20:48:42 +01:00
LibMarkdown Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
LibPCIDB Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
LibProtocol Kernel+LibC: Rename shared buffer syscalls to use a prefix 2020-02-28 12:55:58 +01:00
LibPthread Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
LibThread LibThread: Fix destroying background actions 2020-02-25 10:17:31 +01:00
LibVT Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
LibWeb LibWeb: Start working on DOM event support 2020-03-18 17:13:22 +01:00
Makefile Build: Only look at SUBDIRS with Makefiles 2020-02-25 19:56:48 +01:00