The MozTapGesture
event is executed when the user uses two fingers to "tap" the trackpad or touchscreen.
General info
- Specification
- Addons specific
- Interface
- Event
- Bubbles
- Yes
- Cancelable
- Yes
- Target
- browser, browsers
- Default Action
- Varies (OS dependant)
Properties
Property | Type | Description |
---|---|---|
target Read only |
EventTarget |
The event target (the topmost target in the DOM tree). |
type Read only |
DOMString |
The type of event. |
bubbles Read only |
boolean |
Does the event normally bubble? |
cancelable Read only |
boolean |
Is it possible to cancel the event? |
view Read only |
WindowProxy |
document.defaultView (the window of the document). |
detail Read only |
long (float ) |
0. |
currentTarget Read only |
EventTarget (DOM element) | The node that had the event listener attached. |
relatedTarget Read only |
EventTarget (DOM element) | For mouseover , mouseout , mouseenter and mouseleave events: the target of the complementary event (the mouseleave target in the case of a mouseenter event). null otherwise. |
screenX Read only |
long (int) | The X coordinate of the mouse pointer in global (screen) coordinates. |
screenY Read only |
long (int) | The Y coordinate of the mouse pointer in global (screen) coordinates. |
clientX Read only |
long (int) | The X coordinate of the mouse pointer in local (DOM content) coordinates. |
clientY Read only |
long (int) | The Y coordinate of the mouse pointer in local (DOM content) coordinates. |
button Read only |
unsigned short (int) | The button number that was pressed when the mouse event was fired: Left button=0, middle button=1 (if present), right button=2. For mice configured for left handed use in which the button actions are reversed the values are instead read from right to left. |
direction Read only |
unsigned long (int) | The direction of the gesture. Read only. |
delta Read only |
double (float) | The amount by which the gesture moved; for rotation, this value is in degrees. Positive values are clockwise and negative values are counterclockwise. For magnification, this value is implementation-specific, but the value is positive for zooming in and negative for zooming out. |