Releases: spatie/menu
Releases · spatie/menu
1.2.0
- New methods on
Menu
:submenu
for submenus with optional headersvoid
andvoidIf
for empty list itemswrap
to wrap the menu in an html tag with optional attributes- A
blueprint
method to copy the menu without it's contents - Html item convenience methods:
addItemClass
,setItemAttribute
- Html parent convenience methods:
addItemParentClass
,setItemParentAttribute
- Added
HasHtmlAttributes
andHasParentAttributes
interfaces HtmlAttributes
andParentAttributes
now also have asetAttributes
method
1.1.1
- Fixed
setActive
when setting active from a URL
1.1.0
- Added conditional add functions,
addIf
,linkIf
andhtmlIf
1.0.0
- First release