interface
Options that modify the Router
navigation strategy. Supply an object containing any of these properties to a Router
navigation function to control how the target URL should be constructed or interpreted.
interface NavigationExtras extends UrlCreationOptions, NavigationBehaviorOptions { // inherited from router/UrlCreationOptions relativeTo?: ActivatedRoute | null queryParams?: Params | null fragment?: string queryParamsHandling?: QueryParamsHandling | null preserveFragment?: boolean // inherited from router/NavigationBehaviorOptions skipLocationChange?: boolean replaceUrl?: boolean state?: {...} }
UrlCreationOptions
NavigationBehaviorOptions
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/router/NavigationExtras