Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface NavigationActivation

The NavigationActivation interface of the Navigation API represents a recent cross-document navigation. It contains the navigation type and outgoing and inbound document history entries.

MDN Reference

interface NavigationActivation {
    entry: NavigationHistoryEntry;
    from: NavigationHistoryEntry | null;
    navigationType: NavigationType;
}
Index

Readonlyentry

The entry read-only property of the NavigationActivation interface contains a NavigationHistoryEntry object representing the history entry for the inbound ("to") document in the navigation. This is equivalent to the Navigation.currentEntry property at the moment the inbound document was activated.

MDN Reference

The from read-only property of the NavigationActivation interface contains a NavigationHistoryEntry object representing the history entry for the outgoing ("from") document in the navigation.

MDN Reference

navigationType: NavigationType

The navigationType read-only property of the NavigationActivation interface contains a string indicating the type of navigation.

MDN Reference

Was this helpful?