The FocusEvent Object handles events that occur when elements gets or loses focus.
Event | Occurs When |
---|---|
onblur | An element loses focus |
onfocus | An element gets focus |
onfocusin | An element is about to get focus |
onfocusout | An element is about to lose focus |
Property | Returns |
---|---|
relatedTarget | The element that triggered the event |
The FocusEvent inherits all the properties and methods from:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!