mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 19:45:08 +00:00

These provide the cursor coordinate within the viewport at which the event occurred (as opposed to the page relative coordinates exposed via offsetX, offsetY).
8 lines
192 B
Text
8 lines
192 B
Text
interface MouseEvent : Event {
|
|
|
|
readonly attribute double offsetX;
|
|
readonly attribute double offsetY;
|
|
readonly attribute double clientX;
|
|
readonly attribute double clientY;
|
|
|
|
};
|