Issue
I wonder add queryParams to url without router.navigateByUrl or routerLink Click in angular
I did not try anything
add Query params to url
Solution
try add [queryParams] directive
<a routerLink="contact" [queryParams]="{first:fu,last:bar}" >
Contact
</a>
Answered By - onik
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.