HTML DOM UiEvent
❮ Sự kiện DOM ❮ Đối tượng sự kiện
Đối tượng UiEvent
Các sự kiện được kích hoạt từ giao diện người dùng thuộc về Đối tượng UiEvent.
Thuộc tính và phương thức 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 |
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 có 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:
Các loại sự kiện
Các loại sự kiện này thuộc về Đối tượng 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>) |
❮ Sự kiện DOM ❮ Đối tượng sự kiện