hmcts / frontend

HMCTS Frontend contains the code you need to start building a user interface for HMCTS government services.
2 stars 9 forks source link

Can't pass classes to menus inside identity bar #68

Closed edwardhorsford closed 5 years ago

edwardhorsford commented 5 years ago

What would you like to change?

I wanted to pass classes to each of the menus I was using in the identity bar - so that I could hook them in js. After some searching, I realised classes isn't passed to the child macro.

FWIW, it would be good if the examples of menus used explicit classes for the js hooks - it wasn't obvious adding a class was even possible.

adamsilver commented 5 years ago

Will be fixed in the next release.