core icon 'face' not actually available?

61 views
Skip to first unread message

Ren He

unread,
Jan 22, 2015, 9:41:11 PM1/22/15
to polym...@googlegroups.com
Tried to use the core-item icon="face" however it comes up blank.

Carlos Araya

unread,
Jan 23, 2015, 12:10:53 PM1/23/15
to polym...@googlegroups.com
Ren,

Did you import core-cons? When working with icons in polymer you also have to import the icons. 

I add the following import to my declarations to tell Polymer where to find the Polymer icons. 

<link rel="import" href="../bower_components/core-icons/core-icons.html">

If you use your own graphic assets, you should use the src attribute rather than icon.


Carlos

hel...@gmail.com

unread,
Jan 24, 2015, 3:43:02 PM1/24/15
to polym...@googlegroups.com
I guess you use polymer version 0.5.3+. Try use icon="icons:face".
I have same problem with "map", have to use "maps:map"
Reply all
Reply to author
Forward
0 new messages