NavigationTransition: navigationType property

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

Value

An enumerated value representing the type of ongoing navigation.

The possible values are:

Examples

js
console.log(navigation.transition.navigationType);

Specifications

See also