How can I conditionally use either [href] or [routerLink] on an anchor?

后端 未结 5 1781
暖寄归人
暖寄归人 2021-01-01 11:56

I need for the same anchor link to be pointed conditionally locally or to external resource. I tried



        
5条回答
提交回复
热议问题