Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The NavigationDestination
interface of the Navigation API represents the destination being navigated to in the current navigation.
It is accessed via the NavigateEvent.destination
property.