MenuItem - conditional disabling

UI Components for Angular
Post Reply
axos88
Posts: 2
Joined: 10 Mar 2020, 16:05

10 Mar 2020, 16:10

Hi,

Before using PrimeNg, I had something like this in my menu:

<a [visible]="auth.isAuthenticated()">Foo</a>

How can I achieve the same result with p-menubar? It seems to only accept a static true/false value, not a bound one, or an observer.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 30 guests