Using css icon with paper-icon-button

98 views
Skip to first unread message

gagan deep singh

unread,
Oct 7, 2014, 4:28:16 AM10/7/14
to polym...@googlegroups.com
I am using font-awesome css icons along with polymer.
I need help how to use FA css icons instead of icons provided by paper.

<paper-icon-button class="fa fa-share"></paper-icon-button>

It should pick share icon from FA.

Thanks

Daniel Freedman

unread,
Oct 7, 2014, 2:11:55 PM10/7/14
to gagan deep singh, polymer-dev
This is more a StackOverflow style question, but you can use <paper-button> to achieve what you want.

<paper-button aria-label="share">
  <i class="fa fa-share"></i>
</paper-button>

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/25cab9a3-35b8-4efc-9395-6c00b9bd04bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages