NavigationHostRoute interface

An interface representing a particular host-side route

Extends

NavigationRouteBase

Inherited Properties

path

The path to navigate to

replaceUrl

When set to true, the navigation modifies the current history entry instead of adding a new one.

Note: This works only if the previous page before navigation was also rendered by the same workload request with history replacement. This prevents unintended overwriting of history entries generated by other workloads.

Inherited Property Details

path

The path to navigate to

path: string

Property Value

string

Inherited From NavigationRouteBase.path

replaceUrl

When set to true, the navigation modifies the current history entry instead of adding a new one.

Note: This works only if the previous page before navigation was also rendered by the same workload request with history replacement. This prevents unintended overwriting of history entries generated by other workloads.

replaceUrl?: boolean

Property Value

boolean

Inherited From NavigationRouteBase.replaceUrl