I've been wandering around the internet to find a way to add submenu's to the mean.io application.
SystemPackage.menus.add({
title: 'Log Out',
link: 'Log Out',
roles: ['authenticated'],
menu: 'account'
});
I've the following questions from the above code.
menu
property in the object passed to add?This is not currently possible to support submenus. The menu service is defined in the menu controller located in "mean/packages/core/system/public/controllers/header.js" on the github repo. Within the code, there is no recursive implementation to identify and process sub-menu definitions.
Here's the source controller to view for yourself:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With