[Type] DOMEvent

Part of: mobl
Inherits from: mobl::Dynamic

Represents a browser's DOM event.

Instance methods

preventDefault() : void

Prevent default event handling behavior.

Example:

evt.preventDefault();

Instance properties

x : Num

X-coordinate of whatever the event is about.

Example:

evt.x // -> 234

y : Num

T-coordinate of whatever the event is about.

Example:

evt.t // -> 134
mobl/domevent.txt · Last modified: 2013/10/01 02:28 (external edit)