Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

add menu-item to docs / support for active css class #996

Closed
mbeckenbach opened this issue Dec 19, 2014 · 2 comments
Closed

add menu-item to docs / support for active css class #996

mbeckenbach opened this issue Dec 19, 2014 · 2 comments

Comments

@mbeckenbach
Copy link

Please add the menu-item from the docs page (https://material.angularjs.org) to docs.
Very helpfull component.

Also please add support for a simple active state css class instead of md-highlight so you can simply set active highlighting via ui-sref-active from ui-router.

@epelc
Copy link
Contributor

epelc commented Dec 19, 2014

@mbeckenbach Are you referring to the classes the sidenav is using?

If so you can rip them out quite easily if you need similar styles for your own app.

@marcysutton
Copy link
Contributor

The docs sidenav is soon going to change to an Expand/Collapse list control (#985) to better match the Material Design spec. But we also have the menu component on the horizon. To achieve a similar effect to what you see in the docs currently, you could always nest buttons inside of list-items. The functionality for this should already exist...you would just have to wire up the expand/collapse.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants