HTML DOM FocusEvent
❮ DOM Etkinlikleri ❮ Etkinlik Nesneleri
FocusEvent Nesnesi
Öğeler odağı aldığında veya kaybettiğinde meydana gelen olaylar, FocusEvent Nesnesine aittir.
FocusEvent Özellikleri ve Yöntemleri
Property/Method | Description |
---|---|
relatedTarget | Returns the element related to the element that triggered the event |
Kalıtsal Özellikler ve Yöntemler
FocusEvent, tüm özellikleri ve yöntemleri aşağıdakilerden devralır:
Etkinlik Türleri
Bu olay türleri FocusEvent Nesnesine aittir:
Event | Description |
---|---|
onblur | The event occurs when an element loses focus |
onfocus | The event occurs when an element gets focus |
onfocusin | The event occurs when an element is about to get focus |
onfocusout | The event occurs when an element is about to lose focus |
❮ DOM Etkinlikleri ❮ Etkinlik Nesneleri