In trying to create an ion-item with a stacked label and a toggle with some text, like
Label:
–o The toggle is ON
I have tried various things, all of which have weird layout problems:
<ion-item>
<ion-label position="stacked">Label:</ion-label>
<ion-toggle slot="start"></ion-toggle>
Example text
</ion-item>
<ion-item>
<ion-label position="stacked">Label:</ion-label>
<ion-toggle></ion-toggle>
Example text
</ion-item>
<ion-item>
<ion-label position="stacked">Label:</ion-label>
<ion-toggle></ion-toggle>
<ion-label>Example text</ion-label>
</ion-item>
Thoughts?
The above on stackblitz