M
M
Maxim Tarabrin2017-06-06 15:11:01
Angular
Maxim Tarabrin, 2017-06-06 15:11:01

How to use the MdIcon directive?

Give an example of using the MdIcon directive in angular 2. I imported the MaterialModule module, tried to write it in the component:
<md-icon>home</md-icon>
Alas, it doesn’t work, I don’t understand how to work with material icons and buttons.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Manakov, 2017-06-06
@padr1no

Paste

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question