AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.1.0-alpha-378" />

 CustomEvent

public class CustomEvent : Event
Represents a custom event that provides an additional details property.
using AngleSharp.Attributes; using System.Runtime.CompilerServices; namespace AngleSharp.Dom.Events { [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] [DomName("CustomEvent")] public class CustomEvent : Event { [DomName("detail")] public object Details { get; set; } public CustomEvent() { } [System.Runtime.CompilerServices.NullableContext(1)] [DomConstructor] [DomInitDict(1, true)] public CustomEvent(string type, bool bubbles = false, bool cancelable = false, [System.Runtime.CompilerServices.Nullable(2)] object details = null) { Init(type, bubbles, cancelable, details); } [System.Runtime.CompilerServices.NullableContext(1)] [DomName("initCustomEvent")] public void Init(string type, bool bubbles, bool cancelable, [System.Runtime.CompilerServices.Nullable(2)] object details) { Init(type, bubbles, cancelable); Details = details; } } }