Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MozTapGesture

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.

Document Tags and Contributors

 Contributors to this page: teoli, Sheppy, ethertank, louisremi
 Last updated by: teoli,