UIEvent : Event
Return to: HTML DOM Level 2 index

Provides contextual information associated with User Interface-related events.

Platform Support

IE Mozilla Netscape Opera Safari Chrome
no 1.0+ 7.0+ 7.0+ 1.0+ no

Constructors

Constructor Action IE Mozilla Netscape Opera Safari Chrome
Provides contextual information associated with User Interface-related events.
Show Details no 1.0+ 7.0+ 7.0+ 1.0+ no

UIEvent() : UIEvent

Provides contextual information associated with User Interface-related events.

Returns
UIEvent

Visibility
internal

Properties

Property Action IE Mozilla Netscape Opera Safari Chrome
detail : Number
Numeric detail related to the event.
Show Details no 1.75+ 7.0+ no 1.0+ no
  • Mozilla: Incorrect on Windows.

For examples, see the quirksmode test page:

http://www.quirksmode.org/js/events/detail.html

Availability

HTML DOM Level 2|W3C

view : AbstractView
Window that generated the event.
Show Details no 1.0+ 7.0+ 7.0+ 1.0+ no
Availability

HTML DOM Level 2|W3C

Functions

Method Action IE Mozilla Netscape Opera Safari Chrome
initUIEvent(String typeArg, Boolean canBubbleArg, Boolean cancelableArg, AbstractView viewArg, Number detailArg) : void
Sets the initial property values for a new UIEvent object.
Show Details no 1.0+ 7.0+ 7.0+ 1.0+ no

Parameters
String typeArg Type of event.
Boolean canBubbleArg If true, the event should bubble by default.
Boolean cancelableArg If true, the event is cancellable by default.
AbstractView viewArg Window or frame for the event.
Number detailArg Code for the event detail.

Returns
void

Availability

HTML DOM Level 2|W3C

References

Event|MouseEvent

Availability

HTML DOM Level 2|W3C

text_javascript aptana_docs