Menu
Simple menu component for Nette applications.
Installation
The best way to install it is via Composer. Just add nexendrie/menu to your dependencies.
Documentation
-
2.1.0 Version 2.1.0
Changelog:
- added property MenuItem::$rawLink
- raised minimal version of PHP to 7.2
-
2.0.0 Version 2.0.0
Removed:
- removed support for section menu.conditions
Changes:
- marked some classes as final
New features/improvements:
- introduced menu item link renders
- allowed absolute urls as link target
- added support for subitems
-
1.2.2 Version 1.2.2
Changelog:
- code cleaning
- fixed some exception messages
- removed indirect dependency on nette/reflection
-
1.2.0 Version 1.2.0
Changes in dependencies:
- added dependency on nexendrie/utils
Improvements:
- added virtual property Menu::$allowedItems
- added BaseCondition
-
1.1.0 Version 1.1.0
Section menu.conditions was deprecated and support for it will be removed in 2.0.0. Register manually custom conditions as services instead. MenuFactory is not autowired anymore.
-
1.0.0 Version 1.0.0
Changelog:
- added conditional menu items
- menus are now created by a factory (in DIC extension)
- renamed constants in MenuExtension
-
0.3.0 Version 0.3.0
Changelog:
- it is possible to define new menu types from neon
- added support for translating
-
0.2.0 Version 0.2.0
Changelog:
- allowed setting menu's html id
- menu type's is now determined in template, see documentation
- changed thrown exceptions
- added support for custom menu types
-
0.1.0 Version 0.1.0
First version