You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just upgraded to the newest version of primeng and wanted to migrate the megamenu.
I've added a command and an url to the items in the menu, but the click-handler (set a breakpoint there) was never called.
I hope I haven't configured wrong items - here are my navItems:
The text was updated successfully, but these errors were encountered:
cagataycivici
added
the
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
label
May 28, 2016
Hi,
Just upgraded to the newest version of primeng and wanted to migrate the megamenu.
I've added a command and an url to the items in the menu, but the click-handler (set a breakpoint there) was never called.
I hope I haven't configured wrong items - here are my navItems:
this.navItems = [ { label: 'Item1', items: [[ { label: 'Sub-item 1', command: (event) => { console.log('1', event); } }, { label: 'Sub-item 4', url: 'http://www.test.com' } ]], command: (event) => { console.log('link1', event); } }]
Regards,
Peter
The text was updated successfully, but these errors were encountered: