mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:47:34 +00:00
LibWeb: Add modifier keys to MouseEvent
This commit is contained in:
parent
836a7b00dd
commit
e267f8e68f
8 changed files with 44 additions and 30 deletions
|
@ -15,10 +15,10 @@ interface MouseEvent : UIEvent {
|
|||
readonly attribute double offsetX;
|
||||
readonly attribute double offsetY;
|
||||
|
||||
// FIXME: readonly attribute boolean ctrlKey;
|
||||
// FIXME: readonly attribute boolean shiftKey;
|
||||
// FIXME: readonly attribute boolean altKey;
|
||||
// FIXME: readonly attribute boolean metaKey;
|
||||
readonly attribute boolean ctrlKey;
|
||||
readonly attribute boolean shiftKey;
|
||||
readonly attribute boolean altKey;
|
||||
readonly attribute boolean metaKey;
|
||||
|
||||
// https://w3c.github.io/pointerlock/#extensions-to-the-mouseevent-interface
|
||||
readonly attribute double movementX;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue