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 where the event occurred. |
Inherited properties and methods
UiEvent inherits all properties and methods from the following objects:
Related event objects
These event objects inherit the properties of UiEvent:
Event type
These event types belong to the UiEvent object:
Event | Description |
---|---|
abort | Media loading abort event occurs. |
beforeunload | Peristiwa ini terjadi sebelum dokumen disemak. |
error | Peristiwa ini terjadi selepas terjadi kesalahan ketika memuatkan fail luaran. |
load | Peristiwa ini terjadi selepas objek sudah dimuatkan. |
resize | Peristiwa ini terjadi selepas ukuran paparan dokumen diubah. |
scroll | Peristiwa ini terjadi selepas palang penilaian elemen berputar. |
select | Peristiwa ini terjadi selepas teks dipilih pengguna (untuk <input> dan <textarea>). |
unload | Peristiwa ini terjadi selepas halaman disemak (untuk <body>). |