AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.16.1-alpha-125" />

 FocusEvent

public class FocusEvent : UiEvent
Represents the arguments for a focus event.
public IEventTarget Target { get; }

Gets the target of the event.

public FocusEvent()

Creates a new event.

public FocusEvent(string type, bool bubbles = false, bool cancelable = false, IWindow view = null, int detail = 0, IEventTarget target = null)

Creates a new event and initializes it.

public void Init(string type, bool bubbles, bool cancelable, IWindow view, int detail, IEventTarget target)

Initializes the focus event.