mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
LibWeb: Generate Event and MouseEvent bindings from IDL :^)
We still have to hand-write a function to turn an Event& into a wrapper but this is still a hue improvement. Eventually we'll find a way to auto-generate that function as well.
This commit is contained in:
parent
dd29ff884f
commit
e1bd815a6a
12 changed files with 29 additions and 177 deletions
6
Libraries/LibWeb/DOM/MouseEvent.idl
Normal file
6
Libraries/LibWeb/DOM/MouseEvent.idl
Normal file
|
@ -0,0 +1,6 @@
|
|||
interface MouseEvent : Event {
|
||||
|
||||
readonly attribute double offsetX;
|
||||
readonly attribute double offsetY;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue