The MozMagnifyGestureUpdate
event is executed periodically while processing a magnify gesture, to provide updated status information. The event's delta value represents the amount by which the gesture has moved since the MozMagnifyGestureStart or MozMagnifyGestureUpdate event.
Note: This event is sent whenever the movement of the user's fingers exceeds the number of pixels indicated by the
browser.gesture.pinch.threshold
preference.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. |