Your Search Results

    MozRotateGesture Redirect 1

    The MozRotateGesture event is executed when the user completes a rotate gesture. If you only care about the end results of the rotate gesture, you can simply watch for this event; however, if you want to provide feedback during the handling of the gesture, you should also watch the MozRotateGestureStart and MozRotateGestureUpdate events.

    The delta value is the cumulative change over the course of handling the entire sequence of rotate gesture events.

    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: ethertank
    Last updated by: ethertank,