AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.0.0-ci-228" />

 Event

public class Event : EventArgs
Represents an event argument.
public IEventTarget CurrentTarget { get; }

Gets the current target (if bubbled).

public bool IsBubbling { get; }

Gets if the event is actually bubbling.

public bool IsCancelable { get; }

Gets if the event is cancelable.

public bool IsComposed { get; }

Gets if the event is propagating across the shadow DOM boundary into the standard DOM.

public bool IsDefaultPrevented { get; }

Gets if the default behavior has been prevented.

public bool IsTrusted { get; }

Gets if the event is trusted.

public IEventTarget OriginalTarget { get; }

Gets the original target of the event.

public EventPhase Phase { get; }

Gets the phase of the event.

public DateTime Time { get; }

Gets the originating timestamp.

public string Type { get; }

Gets the type of event.

public Event()

Creates a new event.

public Event(string type, bool bubbles = false, bool cancelable = false, bool composed = false)

Creates a new event and initializes it.

public void Cancel()

Prevents the default behavior.

Returns the event's path which is an array of the objects on which listeners will be invoked. See https://dom.spec.whatwg.org/#dom-event-composedpath.

public void Init(string type, bool bubbles, bool cancelable)

Initializes the event.

public void Stop()

Prevents further propagation of the event.

public void StopImmediately()

Stops the immediate propagation.