Fantom

 

class

dom::Event

sys::Obj
  dom::Event

@js

Event models the DOM event object.

See docLib for details.

Slots

altSource

native Bool alt()

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

ctrlSource

native Bool ctrl()

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

shiftSource

native Bool shift()

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

targetSource

native Elem target()

The target to which the event was dispatched.

xSource

native Int x()

The x position of the event.

ySource

native Int y()

The y position of the event.