NavigationTransition

The NavigationTransition interface of the Navigation API represents an ongoing navigation, that is, a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.

MDN Reference

Properties

Link copied to clipboard
Link copied to clipboard

The finished read-only property of the NavigationTransition interface returns a Promise that fulfills at the same time the navigatesuccess event fires, or rejects at the same time the navigateerror event fires.

Link copied to clipboard

The from read-only property of the NavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.

Link copied to clipboard

The navigationType read-only property of the NavigationTransition interface returns the type of the ongoing navigation.