class dom::DomEvent
sys::Obj dom::DomEvent
@Js
DomEvent models the DOM event object.
- alt
-
Bool alt()
Return true if the ALT key was pressed during the event.
-
Int? button
Mouse button number pressed.
- ctrl
-
Bool ctrl()
Return true if the CTRL key was pressed during the event.
- meta
-
Str:Obj? meta := [Str:Obj?][:]
Meta-data for this event instance.
- shift
-
Bool shift()
Return true if the SHIFT key was pressed during the event.
- target
-
Elem target()
The target to which the event was dispatched.
- x
-
Int x()
The x position of the event.
- y
-
Int y()
The y position of the event.