NavigationTransition: from property
Navigation API
Navigation API
The from read-only property of the
NavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.
Value
A NavigationHistoryEntry object.
Examples
console.log(navigation.transition.from);