UIEvent() constructor creates a new
event = new UIEvent(typeArg [, UIEventInit])
- Is a
DOMStringrepresenting the name of the event.
- Is a
UIEventInitdictionary, having the following fields:
detail: optional and defaulting to
0, of type
long, that is a event-dependant value associated with the event.
UIEvent.detaillists the semantic for standard events.
view: optional and defaulting to
null, of type
WindowProxy, that is the
Windowassociated with the event .
sourceCapabilities: An instance of the
InputDeviceCapabilitiesinterface which provides information about the physical device responsible for generating a touch event.
UIEventInitdictionary also accepts fields from the
|UI Events |
BCD tables only load in the browser
UIEvent, the interface of the objects it constructs.