FocusEvent Class
https://w3c.github.io/uievents/#focusevent
public sealed class FocusEvent : UIEvent- Inheritance
UIEventFocusEvent
Constructors
| Name | Description |
|---|---|
| FocusEvent(string, FocusEventInit?) | Creates a focus event of the given type with the given initialization dictionary. |
FocusEvent(string, FocusEventInit?)
UIEvents.csCreates a focus event of the given type with the given initialization dictionary.
public FocusEvent(string type, FocusEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| RelatedTarget | Gets the secondary target of the focus change (the element losing or receiving the focus), or null. |
RelatedTarget
UIEvents.csGets the secondary target of the focus change (the element losing or receiving the focus), or null.
public EventTarget? RelatedTarget { get; }