The type of the event, possible values are UP, DOWN, MOVE, SCROLL
Indicate whether the event bubbles up through the hierarchy or not.
Indicate whether the event bubbles up through the hierarchy or not.
A reference to the currently registered target for the event.
Indicates which phase of the event flow is currently being evaluated. Returns an integer value represented by 4 constants:
The type of the event, possible values are UP, DOWN, MOVE, SCROLL
Mouse movement on x axis of the UI coordinate system.
Mouse movement on y axis of the UI coordinate system.
Stops propagation for current event immediately, the event won't even be dispatched to the listeners attached in the current target.
Stops propagation for current event.
A reference to the target to which the event was originally dispatched.
The name of the event (case-sensitive), e.g. "click", "fire", or "submit".
The type code of Acceleration event.
The target phase comprises only the event target node [markdown] (http://www.w3.org/TR/DOM-Level-3-Events/#event-flow)
The bubbling phase comprises any subsequent nodes encountered on the return trip to the root of the hierarchy [markdown] (http://www.w3.org/TR/DOM-Level-3-Events/#event-flow)
The tag of mouse's button 4.
The tag of mouse's button 5.
The tag of mouse's button 6.
The tag of mouse's button 7.
The tag of mouse's button 8.
The tag of mouse's left button.
The tag of mouse's middle button.
The default tag when no button is pressed
The tag of mouse's right button (The right button number is 2 on browser).
The capturing phase comprises the journey from the root to the last node before the event target's node markdown
The event code of mouse down event.
The type code of Keyboard event.
The type code of Mouse event.
The event code of mouse move event.
The none event code of mouse event.
Code for event without type.
The event code of mouse scroll event.
The type code of Touch event.
The event code of mouse up event.
Returns mouse button code.
Gets current target of the event
note: It only be available when the event listener is associated with node.
It returns 0 when the listener is associated with fixed priority.
Returns the X axis delta distance from the previous location to current location.
Returns the Y axis delta distance from the previous location to current location.
Returns location data on X axis.
Returns location data on Y axis.
Returns the scroll value on x axis.
Returns the scroll value on y axis.
Gets the event type.
Returns the X axis delta distance from the previous location to current location in the UI coordinates.
Returns the Y axis delta distance from the previous location to current location in the UI coordinates.
Returns location data on X axis.
Returns location data on Y axis.
Checks whether the event has been stopped.
Reinitialize the event for being used again after retrieved from the object pool.
The name of the event (case-sensitive), e.g. "click", "fire", or "submit"
A boolean indicating whether the event bubbles up through the tree or not
Sets mouse button code.
The button code
Sets cursor location.
The location on x axis
The location on y axis
Sets scroll data of the mouse.
The scroll value on x axis
The scroll value on y axis
Reset the event for being stored in the object pool.
Generated using TypeDoc
The mouse event