components icon indicating copy to clipboard operation
components copied to clipboard

md-button: icon button lacks material-icons class

Open DenSchiep opened this issue 9 years ago • 3 comments

When testing the md-button component (copy paste of example tab), the icon was not shown. After some research it appears to be the class of material-icons which is lacking in the documentation.

At the moment:

<button md-icon-button color="primary">
    <md-icon class="md-24" aria-label="Example icon-button with a heart icon">favorite</md-icon>
  </button>

It should be:

<button md-icon-button color="primary">
    <md-icon class="material-icons" aria-label="Example icon-button with a heart icon">favorite</md-icon>
  </button>

DenSchiep avatar Sep 20 '17 18:09 DenSchiep

That class should get automatically added to the icon by default. Can you reproduce where it did not?

https://plnkr.co/edit/WiCGNj4TtqRGDxWNOXMh?p=preview

willshowell avatar Sep 20 '17 18:09 willshowell

Closing this as cannot reproduce for now. Feel free to reopen if you can provide a reproduction

jelbourn avatar Sep 24 '17 19:09 jelbourn

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.