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

LibWeb: Add MouseEvent JavaScript constructor

This commit is contained in:
Bastiaan van der Plaat 2024-01-19 18:53:05 +01:00 committed by Andreas Kling
parent 9aadc6c8c9
commit e2bc606eeb
5 changed files with 33 additions and 1 deletions

View file

@ -3,7 +3,7 @@
// https://w3c.github.io/uievents/#mouseevent
[Exposed=Window]
interface MouseEvent : UIEvent {
// FIXME: constructor(DOMString type, optional MouseEventInit eventInitDict = {});
constructor(DOMString type, optional MouseEventInit eventInitDict = {});
// https://drafts.csswg.org/cssom-view/#extensions-to-the-mouseevent-interface
readonly attribute double screenX;