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
interface NavigationTransition {
committed: Promise<void>;
finished: Promise<void>;
from: NavigationHistoryEntry;
navigationType: NavigationType;
}
committed: Promise<void>;
finished: Promise<void>;
from: NavigationHistoryEntry;
navigationType: NavigationType;
}
Properties
Readonlycommitted
committed: Promise<void>
Readonlyfinished
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.
Readonlyfrom
The from read-only property of the NavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.
ReadonlynavigationType
The navigationType read-only property of the NavigationTransition interface returns the type of the ongoing navigation.
The
NavigationTransitioninterface of the Navigation API represents an ongoing navigation, that is, a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.MDN Reference