On this page
RouterLinkWithHref
directive
Lets you link to specific routes in your app.
Exported from
Selectors
a[routerLink]
area[routerLink]
Properties
Property | Description |
---|---|
@Input()target: string |
|
@Input()queryParams?: Params | null |
Passed to Router#createUrlTree as part of the See also: |
@Input()fragment?: string |
Passed to Router#createUrlTree as part of the See also: |
@Input()queryParamsHandling?: QueryParamsHandling | null |
Passed to Router#createUrlTree as part of the See also: |
@Input()preserveFragment: boolean |
Passed to Router#createUrlTree as part of the See also: |
@Input()skipLocationChange: boolean |
Passed to Router#navigateByUrl as part of the See also: |
@Input()replaceUrl: boolean |
Passed to Router#navigateByUrl as part of the See also: |
@Input()state?: { [k: string]: any; } |
Passed to Router#navigateByUrl as part of the See also: |
@Input()relativeTo?: ActivatedRoute | null |
Passed to Router#createUrlTree as part of the See also: |
href: string | null |
|
@Input()routerLink: string | any[] |
Write-Only Commands to pass to Router#createUrlTree.
See also: |
urlTree: UrlTree | null |
Read-Only |
Description
See RouterLink
for more information.
© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v13.angular.io/api/router/RouterLinkWithHref