HashChangeEventInit Class

https://html.spec.whatwg.org/multipage/nav-history-apis.html#hashchangeeventinit

public sealed class HashChangeEventInit : EventInit
Inheritance
EventInit HashChangeEventInit

Constructors

NameDescription
HashChangeEventInit()

HashChangeEventInit()

HtmlEvents.cs
public HashChangeEventInit()

No documentation is available.

Properties

NameDescription
NewUrlGets the URL of the document after the navigation.
OldUrlGets the URL of the document before the navigation.

Gets the URL of the document after the navigation.

public string NewUrl { get; init; }

Gets the URL of the document before the navigation.

public string OldUrl { get; init; }