Advanced Features
1. Dynamic Menu Loading:
Menus can be loaded incrementally by specifying
start_levelanddepth_heightUseful for mega menus or lazy-loading submenus
Example: Load top 2 levels initially, load deeper levels on hover
2. Context-Aware Menus:
System can detect current page via
request_pathorselectedparametersAutomatically highlights active menu items and their ancestors
Useful for showing "you are here" navigation indicators
3. Sibling Navigation:
Can generate menus showing siblings of a specific item
Useful for "related sections" or "browse similar" navigation
4. Parent Inclusion:
include_parentparameter adds the parent node to resultsUseful for breadcrumb generation or showing context
Last updated
Was this helpful?

