How to use my own icon in ons-tab
-
Environment :
Onsen 2 RC 16
Angular 1.5.5
Chrome 51Hello everyone,
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>
and
<ons-tab page="myPage.html" label="my label" icon="icomoon icon-myicon"></ons-tab>
but it doesn’t work.
Thank you
-
@jakwarrior This was previously answered here: http://stackoverflow.com/questions/28887404/i-can-implement-icomoon-icons-with-onsen-ui
Hope this helps!