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 | ||
|---|---|---|---|---|---|---|---|---|---|
|
UIEvent Constructor() : UIEvent
Provides contextual information associated with User Interface-related events.
|
Show Details | no | 1.0+ | 7.0+ | 7.0+ | 1.0+ | no | ||
UIEvent() : UIEventProvides contextual information associated with User Interface-related events. Returns
|
|||||||||
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 |
|
|||||||
|
view
: AbstractView
Window that generated the event.
|
Show Details | no | 1.0+ | 7.0+ | 7.0+ | 1.0+ | no |
|
|||||||
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
Returns
|
||||||||||||||||||||||||
References
Availability
HTML DOM Level 2|W3C