Enonic Market Enonic Market
Menu lib icon

Menu lib

Standard menu functionality for your app

Releases

  1. 2.0.1

    • Fixed: Query was sped up in 2.0.0, but lacked support for manual sort order of items.
    • Compatibility:
      • 6.13.1
  2. 2.0.0

    • Improvement: Rewrite base-query to use filters, up to 100 times speed increase!
    • Feature: New setting for controlling type of generated URL in getBreadcrumbMenu
    • Feature: Include Thymeleaf fragment for main menu (up to 4 levels)
    • Feature: Include Thymeleaf fragment for breadcrumb menu
    • Bug fixed: crashed when used in an errorHandler
    • Improvement: General docs and example improvements
    • Improvement: Include and use lib-util
    • Improvement: Upgrade to latest Gradle (build script, and wrappers)
    • Compatibility:
      • 6.13.1
  3. 1.3.3

    • Re-add previously removed menu-item mixin
    • Compatibility:
      • 6.3.0
  4. 1.3.2

    • Fixed library build.
    • Compatibility:
      • 6.3.0
  5. 1.3.1

    • Fixed library dependencies
    • Compatibility:
      • 6.3.0
  6. 1.3.0

    • Added new function getBreadcrumbMenu - generates a breadcrumb menu
    • Added new examples for getBreadcrumbMenu
    • Upgraded gradle wrappers to Gradle 3.4
    • Compatibility:
      • 6.3.0
  7. 1.2.0

    • Added example files
    • Reorder return json to improve debugging
    • Upgrade gradle wrapper from 2.4 to 2.9
    • Added inPath and isActive
    • Add newWindow check
    • Slightly increased menu count as 100 is pretty low
    • Misc fixes and improvements
    • Compatibility:
      • 6.3.0
  8. 1.1.1

    • Added content type to menu item output
    • Compatibility:
      • 6.1.0
  9. 1.1.0

    • Renamed menu.js to index.js for shorter require reference
    • Added Gradle properties
    • Compatibility:
      • 6.1.0
  10. 1.0.0

    • Initial release
    • Compatibility:
      • 6.0.0

Comments

Download Menu lib

An XP library is normally included in your application through the Gradle build script like this:

dependencies {
    include 'com.enonic.lib:menu:2.0.1'
}

Download the source code for Menu lib

Documentation for Menu lib