HTML DOM UiEvent

UiEvent object

Events triggered from the user interface belong to the UiEvent object.

Ui event properties and methods

Property/Method Description
detail Returns a number indicating how many times the mouse was clicked.
view Returns a reference to the Window object on which the event occurred.

Inherited properties and methods

UiEvent inherits all properties and methods from the following objects:

Event Object

Related event objects

These event objects inherit the properties of UiEvent:

FocusEvent

InputEvent

KeyboardEvent

MouseEvent

TouchEvent

WheelEvent

Event Type

These event types belong to the UiEvent object:

Event Description
abort This event occurs when the media loading is aborted.
beforeunload This event occurs before the document is unloaded.
error This event occurs after an error occurs while loading an external file.
load This event occurs when the object has been loaded.
resize This event occurs when the size of the document view is adjusted.
scroll This event occurs while scrolling the scrollbar of a scrollable element.
select This event occurs after the user selects text (for<input>and<textarea>).
unload This event occurs after the page has unloaded (for <body>).