NavigationCurrentEntryChangeEvent Class

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

public sealed class NavigationCurrentEntryChangeEvent : Event
Inheritance
Event NavigationCurrentEntryChangeEvent

Constructors

NameDescription
NavigationCurrentEntryChangeEvent(string, NavigationCurrentEntryChangeEventInit)Creates a currententrychange event of the given type with the given initialization dictionary.

NavigationCurrentEntryChangeEvent(string, NavigationCurrentEntryChangeEventInit)

NavigationEvents.cs

Creates a currententrychange event of the given type with the given initialization dictionary.

public NavigationCurrentEntryChangeEvent(string type, NavigationCurrentEntryChangeEventInit eventInitDict)

Properties

NameDescription
FromGets the entry that was the current entry before the change.
NavigationTypeGets the type of the navigation that changed the current entry, or null when it is not a navigation.

Gets the entry that was the current entry before the change.

public NavigationHistoryEntry From { get; }