MDN self-hosted library · e01.org

NavigationTransition: from property

Navigation API

Open notebook · 1 cells web-api-instance-property upstream source

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

Specifications

Browser compatibility

See also