I’d like the “left” directive to be dynamic, based on a RTL variable I maintain. Is that possible without writing my own directive?
<ion-buttons left class="row">
...
</ion-buttons>
I’d like the “left” directive to be dynamic, based on a RTL variable I maintain. Is that possible without writing my own directive?
<ion-buttons left class="row">
...
</ion-buttons>
<ion-buttons [attr.left]="isRtl ? '' : null" class="row">
...
</ion-buttons>
Worked!
Toda Avishai
Welcome 
[attr.left] doesn’t work for me, but without ‘attr’ works:
<button ion-button [outline]="!selected">
All
</button>