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

Angular PrimeNG TabMenu reload on same item

Discussão em 'Angular' iniciado por Erik Vasilyan, Outubro 3, 2024.

  1. I want to know how to manually reload an active menu item of PrimeNG.

    I know that there are ways to reload the current component manually but i want to know if there's any method implemented by PrimeNG to reload the active item?

    Something like: [onSameActiveItem] = "reload"

    There's an example:

    <p-tabMenu
    [model]="items"
    [activeItem]="activeItem"
    (activeItemChange)="onActiveItemChange($event)"
    />
    <div class="router-container">
    <router-outlet></router-outlet>
    </div>

    Continue reading...

Compartilhe esta Página