Im using Angular project and setup the grid. Now i want to add the anchor tag with the redirection to particular page. Normally in angular we can achieve this with the help of routerLink but its not working in template as it created dynamic content. And if i used normal href then it will refresh whole page.
so how cani use anchor tag with the angular routing?
Thanks
Hello,
Please check below link where i mention everything what i want to do with the given demo. I just want to give hyperlink in template in angular project. https://prnt.sc/u7nbku
Hi Ronak,
I would suggest the following:
1. Instead of the link to navigate to a page, make it to call a function.
2. In that function use the Angular Routing API to handle the click.
We have a help tutorial about using angular routing which might help you: https://www.htmlelements.com/docs/angular-routing-tabs/
Best regards,
Peter Stoev
Smart UI Team https://www.htmlelements.com/