Bootstrap compliance for the menu
For <ldp-router>
to be compliant with Twitter bootstrap navbar, two solutions :
- add
<a href="#" class="nav-link">ROUTE NAME</a>
as the HTML content of<ldp-route>
- let the user chose the content of
<ldp-route>
The active <ldp-route>
would also need to receive the active
class on top of the active
HTML attribute.
That would help me a great deal as a developer to be Bootstrap compliant.
One additional benefit to include a <a>
tag is that is automatically mimicks the mouse behaviour on hover
and click
, which is the bare minimum for a menu I believe.