summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Event.h
AgeCommit message (Collapse)Author
2020-04-06Meta: Add missing copyright headersAndreas Kling
2020-03-22LibWeb: Use FlyString for DOM event namesAndreas Kling
2020-03-21LibWeb: Add a DOM Event class (instead of events being simple strings)Andreas Kling
This patch adds the Event base class, along with a MouseEvent subclass. We now dispatch MouseEvent objects for mousedown, mouseup and mousemove and these objects have the .offsetX and .offsetY properties. Both of those properties are hard-coded at the moment. This will be fixed in the next patch. :^)