An example of multiple menus?
Closed this issue · 1 comments
sabelapaulo commented
I was wondering how we might implement a menu that has two or more menus? For example, a primary menu then also a menu for mobile only and perhaps another type of menu in the footer whereas the html output for each is different.
Log1x commented
Simply create a new instance of a menu and use it as you would normally.
$otherNavigation = (new Navi())->build('other_navigation');