Serenity Theme - URL and Visible attribute not working

UI Components for Angular
Post Reply
ravisubi
Posts: 1
Joined: 28 Mar 2019, 20:31

21 Oct 2019, 23:21

Hi There,
I tried a lot to understand and way Serenity app-submenu can have a control to navigate to external link as well how any link/left menu can be conditionally made hidden.

Here is my "app.menu.component.ts" MenuItem model data.

this.model = [
{label: 'Dashboard', icon: 'dashboard', routerLink: ['/']},
{label: 'New', icon: 'fa fa-plus', url: 'http://www.primefaces.org/primeng',visible:false', target:'_blank'},

Using above neither URL is getting redirected or link is not shown.

Regards
Ravi

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests