Provides contextual information associated with User Interface-related events.
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | Netscapte | no | 1.0+ | 7.0+ | 7.0+ | 1.0+ | no |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Provides contextual information associated with User Interface-related events. | no | 1.0+ | 7.0+ | 7.0+ | 1.0+ | no |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Numeric detail related to the event. | no | 1.75+ | 7.0+ | no | 1.0+ | no |
| ||||||
Window that generated the event. | no | 1.0+ | 7.0+ | 7.0+ | 1.0+ | no |
Methods
| Method | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Sets the initial property values for a new UIEvent object. | no | 1.0+ | 7.0+ | 7.0+ | 1.0+ | no |
References
Availability
HTML DOM Level 2 | W3C
Constructor Detail
UIEvent UIEvent()
Provides contextual information associated with User Interface-related events.
- Visibility
- internal
Property Detail
Number detail - read only
Numeric detail related to the event.
-
For examples, see the quirksmode test page:
- Availability
HTML DOM Level 2 | W3C
AbstractView view - read only
Window that generated the event.
- Availability
HTML DOM Level 2 | W3C
Method Detail
initUIEvent(String typeArg, Boolean canBubbleArg, Boolean cancelableArg, AbstractView viewArg, Number detailArg) : void
Sets the initial property values for a new UIEvent object.
| 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. |
- Availability
HTML DOM Level 2 | W3C
