ReadonlyidThe id read-only property of the NavigationDestination interface returns the id value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or an empty string otherwise.
ReadonlyindexThe index read-only property of the NavigationDestination interface returns the index value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or -1 otherwise.
ReadonlykeyThe key read-only property of the NavigationDestination interface returns the key value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or an empty string otherwise.
ReadonlysameThe sameDocument read-only property of the NavigationDestination interface returns true if the navigation is to the same document as the current Document value, or false otherwise.
ReadonlyurlThe url read-only property of the NavigationDestination interface returns the URL being navigated to.
The
NavigationDestinationinterface of the Navigation API represents the destination being navigated to in the current navigation.MDN Reference