I have 3 buttons (Note: I have tried the same with other elements like 3 texts/labels/etc.)
first button should be at start (leftmost side of the screen),
second button should be at the middle of screen
3rd button should be at the end (rightmost side of the screen)
I was trying using class=“ion-justify-content-between”, but problem remains the same.
Here is screenshot :
Here is code :
<ion-card>
<ion-card-content>
<ion-item>
<ion-grid>
<ion-row class="ion-justify-content-between">
<ion-col >
<div>
<ion-button>ok</ion-button>
</div>
</ion-col>
<ion-col >
<div>
<ion-button>ok</ion-button>
</div>
</ion-col>
<ion-col>
<div>
<ion-button>ok</ion-button>
</div>
</ion-col>
</ion-row>
</ion-grid>
</ion-item>
</ion-card-content>
</ion-card>
[Note: you can also try without ion-card/ion-card-content/ion-item. I mean you can just keep the ion-grid and the problem is same]
Someone please tell me what went wrong?