Skip to content

Releases: spatie/menu

1.2.0

27 Jun 09:23
Compare
Choose a tag to compare
  • New methods on Menu:
    • submenu for submenus with optional headers
    • void and voidIf for empty list items
    • wrap 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 and HasParentAttributes interfaces
  • HtmlAttributes and ParentAttributes now also have a setAttributes method

1.1.1

04 Apr 09:52
Compare
Choose a tag to compare
  • Fixed setActive when setting active from a URL

1.1.0

30 Mar 07:46
Compare
Choose a tag to compare
  • Added conditional add functions, addIf, linkIf and htmlIf

1.0.0

24 Mar 13:14
Compare
Choose a tag to compare
  • First release