In my Angular 2 application I\'m trying to disable a routerLink without any success. I\'ve tried to handle the click event on the click event (with event.
click
event.
Disable pointer-events on the element via CSS:
pointer-events
Link a.disabled { pointer-events: none; cursor: default; }
See also Angular2, what is the correct way to disable an anchor element?
or
Link not a link
or to easily reuse the disabled link template
not a link Link