Looking at modifying the way the menu is created (or rather, the HTML portion of it), I see that renderPageNavMenuItem() is marked as private, thus making it hard to change the rendered output of the public method menu().
It would be nice if this was somehow made injectable or configurable, i.e. what CSS classes are added for the LI and A elements, for active/current elements, and non-active, etc.
(This becomes a real issue when using Bootstrap 5 since the active CSS class is set on the A element, rather than the LI element.)
Just a thought.
Looking at modifying the way the menu is created (or rather, the HTML portion of it), I see that
renderPageNavMenuItem()is marked as private, thus making it hard to change the rendered output of the public methodmenu().It would be nice if this was somehow made injectable or configurable, i.e. what CSS classes are added for the
LIandAelements, for active/current elements, and non-active, etc.(This becomes a real issue when using Bootstrap 5 since the active CSS class is set on the
Aelement, rather than theLIelement.)Just a thought.