Skip to content

md-menu with icons and colors #1388

@no-more

Description

@no-more

Bug, feature request, or proposal:

feature request

What is the expected behavior?

Correctly display icons inside md-menu.
Be able to add style using md-primary md-accent ...

What is the current behavior?

icons are displayed too close of the text, maybe I don't use it correctly but if that's it then the docs needs to be updated.
It would also be great to change the style by using md-accent, md-primary ... classes as for md-button

What are the steps to reproduce?

<md-menu x-position="before" #globalMenu="mdMenu">
            <button md-menu-item>
                <md-icon fontIcon="search"></md-icon>
                globalMenu.apps
            </button>
            <button md-menu-item class="md-primary">
                <md-icon fontIcon="search"></md-icon>
                globalMenu.account
            </button>
</md-menu>

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd
I didn't manage to make md-menu works with the plunker sorry

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, browsers are affected?

Angular 2.0.1
Material 2.0.0-alpha.9-2

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions