Ionic item with left and right aligned text
This can be done using basic CSS properties. there is nothing specic about ionic here. This can be done using float:left
and float:right
properties.
Still for your reference, you can go through this link.
With Ionic 3 the above answers did not work. With ion-items you can simply leave the left text untouched because it is left-aligned by default. With the text that you want to right-align, simply use the item-end decorator like this:
<ion-item>
Name <span item-end>Zack</span>
</ion-item>
In ionic 2 just use
text-left,text-right
<div class="item">
<span text-left>first</span>
<span text-right>second</span>
</div>
Read More :- https://github.com/driftyco/ionic/typography.scss