caffeinated / menus

:pushpin: Menu generator package for the Laravel framework
https://caffeinatedpackages.com
132 stars 59 forks source link

How to add an attribute to <ul>? #76

Closed reficul closed 8 years ago

reficul commented 8 years ago

There are something like $menu_example->asUl->...?

reficul commented 8 years ago

Find in make function:

{!! $menu_primary->asUl(['class' => 'nav navbar-nav']); !!}

kaidesu commented 8 years ago

I've actually gotten rid of this functionality with v2.2. Better way would be to create view partials so you can style and render your menus however you like.