Firefox Tomorrow

web api interface

NavigationTransition

View on MDN ↗

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

It is accessed via the transition property. Note that this property is only populated while the intercept() handler is unresolved (i.e., during a navigation interception), and is otherwise null.

Instance properties

Examples

async function cleanupNavigation() {
  await navigation.transition.finished;
  // Navigation has completed successfully
  // Cleanup any ongoing monitoring
}

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also