Sự kiện giao diện người dùng HTML DOM
❮ Sự kiện DOM ❮ Đối tượng sự kiện
Đối tượng UiEvent
Đối tượng UiEvent xử lý các sự kiện được kích hoạt từ giao diện người dùng.
Sự kiện giao diện người dùng
Event | Occurs When |
---|---|
abort | The loading of a media is aborted |
beforeunload | A document is about to be unloaded |
error | An error occurs during the loading of a media file |
load | An object has loaded |
resize | The document view is resized |
scroll | An element's scrollbar is scrolled |
select | A user selects text |
unload | A page has unloaded (for <body>) |
Thuộc tính sự kiện UiEvent
Property | Returns |
---|---|
detail | The details about an event |
view | The Window object where the event occurred |
Thuộc tính và phương thức kế thừa
UiEvent kế thừa tất cả các thuộc tính và phương thức từ:
Đối tượng sự kiện liên quan
Các đối tượng sự kiện này kế thừa các thuộc tính của UiEvent: