Issue
I would like to show underline under selected segment.
My html code is :
<ion-segment value="All">
<ion-segment-button value="All" class="mysegment">
<ion-label>All</ion-label>
</ion-segment-button>
<ion-segment-button value="Favorite" class="mysegment">
<ion-label>Favorite</ion-label>
</ion-segment-button>
</ion-segment>
My scss code is :
.mysegment {
color: white;
}
Solution
It can be done using mode="md" in ion-segment, as follow:
<ion-segment value="All" mode="md">
Answered By - H S Progr
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.