Ionic inserts unexpected class -
when writing ionic tabs [ion-tabs] use class "tabs-positive tabs-icon-top"
nut when run run , inspect element chrome see there class :"tabs-top tabs-striped"
here code
<ion-tabs class="tabs-positive tabs-icon-top"> <!-- home tab --> <ion-tab title="home" icon-off="ion-ios-home-outline" icon-on="ion-ios-home" href="#/tab/dash"> <ion-nav-view name="tab-dash"></ion-nav-view> </ion-tab> <!-- man tab --> <ion-tab title="man" icon-off="ion-man" icon-on="ion-man" href="#/tab/man"> <ion-nav-view name="tab-man"></ion-nav-view> </ion-tab> <!-- woman tab --> <ion-tab title="woman" icon-off="ion-woman" icon-on="ion-woman" href="#/tab/woman"> <ion-nav-view name="tab-woman"></ion-nav-view> </ion-tab> </ion-tabs>
and here in chrome
<ion-tabs class="tabs-positive tabs-icon-top pane tabs-top tabs-striped" nav-view="active" style="transform: translate3d(0%, 0px, 0px);"><div class="tab-nav tabs">
is there way avoid these unexpected css class insertion.
Comments
Post a Comment