AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.0.5-alpha-317" />

 HashChangedEvent

public class HashChangedEvent : Event
Represents a custom event that provides an additional details property.
public string CurrentUrl { get; }

Gets the URL after the hash changed.

public string PreviousUrl { get; }

Gets the URL before the hash changed.

Creates a new event.

public HashChangedEvent(string type, bool bubbles = false, bool cancelable = false, string oldURL = null, string newURL = null)

Creates a new event and initializes it.

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

Initializes the hashchanged event.