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 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

interface NavigationTransition {
    committed: Promise<void>;
    finished: Promise<void>;
    from: NavigationHistoryEntry;
    navigationType: NavigationType;
}
Index
committed: Promise<void>
finished: Promise<void>

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.

MDN Reference

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

MDN Reference

navigationType: NavigationType

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

MDN Reference

Was this helpful?