I have difficulty converting routerLink in href.
<a [routerLink]="['/pick',{id:sizzle.parameter,type:food}]"
I tried, but its giving me error
<a [href]="'/pick'+id:sizzle.parameter+type:food"
I have difficulty converting routerLink in href.
<a [routerLink]="['/pick',{id:sizzle.parameter,type:food}]"
I tried, but its giving me error
<a [href]="'/pick'+id:sizzle.parameter+type:food"
Copyright © 2021 Jogjafile Inc.
You should use routerLink for that. For example like this: