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

Properties

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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