AngleSharp by AngleSharp

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

.NET API 1,223,680 bytes

 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 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)

Creates a new event and initializes it.

public void Cancel()

Prevents the default behavior.

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.