@Sweg wrote:
I am able to display the below button in an action sheet controller in my Ionic 5 app:
Here is my code:
this.actionSheetCtrl.create({ header: 'Choose an Action', buttons: [ { text: 'Cancel', role: 'destructive', icon: 'close-outline', handler: () => { } }, ] }).then(actionSheetEl => { actionSheetEl.present(); });
I’m just wondering is it possible to put the icon at the end of the button? So that the position’s of the text & the icon are effectively swapped?
Posts: 3
Participants: 2