NavigationTransition: from property
Baseline 2026>
Newly available
Since January 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The from read-only property of the
NavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.
Value
A NavigationHistoryEntry object.
Examples
js
console.log(navigation.transition.from);
Specifications
| Specification |
|---|
| HTML> # dom-navigationtransition-from-dev> |