UIEvent() constructor creates a new
Note: If you construct a synthetic event using this constructor, that event will not be trusted, for security reasons.
UIEvent objects are trusted and only trusted events trigger default actions.
new UIEvent(type) new UIEvent(type, options)
A string with the name of the event. It is case-sensitive and browsers set it to
An object that, in addition of the properties defined in
Event(), can have the following properties:
A number that is a event-dependent value associated with the event. It defaults to
UIEvent.detaillists the semantic for standard events.
Windowassociated with the event. Its default value is
InputDeviceCapabilitiesobject which provides information about the physical device responsible for generating a touch event.
|UI Events |
BCD tables only load in the browser
UIEvent, the interface of the objects it constructs.