Evento de interfaz de usuario HTML DOM
❮ Eventos DOM ❮ Objetos de eventos
El objeto UiEvent
Los eventos que se desencadenan desde la interfaz de usuario pertenecen al objeto UiEvent.
Propiedades y métodos de 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 |
Propiedades y métodos heredados
El UiEvent hereda todas las propiedades y métodos de:
Objetos de eventos relacionados
Estos objetos de evento heredan las propiedades del UiEvent:
Tipos de eventos
Estos tipos de eventos pertenecen al objeto 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>) |
❮ Eventos DOM ❮ Objetos de eventos