There is documentation for adding attributes to menu items, but how about the menu parent element?
I tried doing a $menu->attribute, but that did not work.
I would like to add class names to the
, I propose adding the same capabilities to menu as there are for item. IE:
$menu = Menu::make(...)->attribute(['class'=>'navbar-nav','id'=>'main-nav'])
would yield
There is documentation for adding attributes to menu items, but how about the menu parent element? I tried doing a $menu->attribute, but that did not work.
I would like to add class names to the
, I propose adding the same capabilities to menu as there are for item. IE: $menu = Menu::make(...)->attribute(['class'=>'navbar-nav','id'=>'main-nav']) would yield
...