class dom::DomEvent

sys::Obj
  dom::DomEvent

@Js

Source

DomEvent models the DOM event object.

alt

Bool alt()

Source

Return true if the ALT key was pressed during the event.

button

Int? button

Source

Mouse button number pressed.

ctrl

Bool ctrl()

Source

Return true if the CTRL key was pressed during the event.

meta

Str:Obj? meta := [Str:Obj?][:]

Source

Meta-data for this event instance.

shift

Bool shift()

Source

Return true if the SHIFT key was pressed during the event.

target

Elem target()

Source

The target to which the event was dispatched.

x

Int x()

Source

The x position of the event.

y

Int y()

Source

The y position of the event.