AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.1" />

.NET API 1,172,480 bytes

 EventTarget

public abstract class EventTarget : IEventTarget
Event target base of all DOM nodes.
public EventTarget()

Creates a new event target in the DOM.

public void AddEventListener(string type, DomEventHandler callback = null, bool capture = false)

Register an event handler of a specific event type on the Node.

public bool Dispatch(Event ev)

Dispatch an event to this Node.

public void RemoveEventListener(string type, DomEventHandler callback = null, bool capture = false)

Removes an event listener from the Node.