Événement d'interface utilisateur HTML DOM
❮ Événements DOM ❮ Objets d'événement
L'objet UiEvent
Les événements déclenchés à partir de l'interface utilisateur appartiennent à l'objet UiEvent.
Propriétés et méthodes UiEvent
Property/Method | Description |
---|---|
detail | Returns a number with details about the event |
view | Returns a reference to the Window object where the event occurred |
Propriétés et méthodes héritées
Le UiEvent hérite de toutes les propriétés et méthodes de :
Objets d'événement associés
Ces objets d'événement héritent des propriétés de UiEvent :
Types d'événements
Ces types d'événements appartiennent à l'objet UiEvent :
Event | Description |
---|---|
abort | The event occurs when the loading of a media is aborted |
beforeunload | The event occurs before the document is about to be unloaded |
error | The event occurs when an error occurred during the loading of a media file |
load | The event occurs when an object has loaded |
resize | The event occurs when the document view is resized |
scroll | The event occurs when an element's scrollbar is being scrolled |
select | The event occurs after the user selects some text (for <input> and <textarea>) |
unload | The event occurs once a page has unloaded (for <body>) |
❮ Événements DOM ❮ Objets d'événement