OutlierVentures / BuyCoPoc

BuyCo.io Proof of Concept on an Ethereum blockchain
Apache License 2.0
0 stars 1 forks source link

Make active page get a specific class .active #46

Open AronVanAmmers opened 8 years ago

AronVanAmmers commented 8 years ago

[12:39:15] Alexander Zinchenko: it is possible to make the currently active menu to have an «.active» class? [12:39:27 | Alexander Zinchenko: I haven’t used standard angular router before [12:39:53] Alexander Zinchenko: I know how to do in with ui-router though

CC @zinchenko

AronVanAmmers commented 8 years ago

Several approaches here: https://stackoverflow.com/questions/12592472/how-to-highlight-a-current-menu-item

It's essential that the menu items are within a controller to allow such functions. NavigationController is meant for this, though the menu items currently are not in the scope of this controller.