1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

How can I conditionally disable the routerLink attribute?

Discussão em 'Angular' iniciado por TizianoL, Setembro 26, 2024.

  1. TizianoL

    TizianoL Guest

    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.preventDefault() and event.stopPropagation()) but it doesn't work.

    How can I disable a routerLink?

    Continue reading...

Compartilhe esta Página