Check out Firefox Developer Edition, the first browser built for developers like you. http://mzl.la/112VrtT

mozilla
Your Search Results

    UIEvent

    This article is in need of a technical review.

    A basic event interface for all user interface events
    28
    Introduced
    Gecko 1.0
    Inherits from: nsIDOMEvent Last changed in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)

    The DOM UIEvent represents simple user interface events.

    Method overview

    void initUIEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in views::AbstractView viewArg, in long detailArg);

    Attributes

    Attribute Type Description
    detail long Detail about the event, depending on the type of event. Read only.
    view views::AbstractView A view which generated the event. Read only.

    Methods

    initUIEvent

    Initializes the UIEvent object.

    void initUIEvent(
      in DOMString typeArg,
      in boolean canBubbleArg,
      in boolean cancelableArg,
      in views::AbstractView viewArg,
      in long detailArg
    );
    
    Parameters
    typeArg
    The type of UI event.
    canBubbleArg
    Whether or not the event can bubble.
    cancelableArg
    Whether or not the event can be canceled.
    viewArg
    Specifies the view attribute value. This may be null.
    detailArg
    Specifies the detail attribute value.

    Specification

    DOM 3 Events: UIEvent

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support (Yes) (Yes) ? ? ?
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support ? (Yes) ? ? ?

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy, kscarfone, ziyunfei, KYSergey, Masayuki, teoli
    Last updated by: kscarfone,