Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
How to use my own icon in ons-tab
jakwarrior last edited by jakwarrior
Onsen 2 RC 16
I try to use my own icon in a ons-tab. I create a custom font with icomoon and I can add a custom icon with the following code :
<i class="icomoon icon-myicon"></i>
It’s the same thing that fontawesome. How can I use this icon in a ons-tab ? I tried
<ons-tab page="myPage.html" label="my label" icon="icon-myicon"></ons-tab>
<ons-tab page="myPage.html" label="my label" icon="icomoon icon-myicon"></ons-tab>
but it doesn’t work.
@jakwarrior This was previously answered here: http://stackoverflow.com/questions/28887404/i-can-implement-icomoon-icons-with-onsen-ui
Hope this helps!