RTL confuse


#1

i’m trying to make some changes upon platform dir using ngClass
the first and second ngClass not working but third and fourth working .


then i tried to declare the RTL in ts file isRTL = this.Platform.isRTL ;
put worked wrong by displaying the english content in RTl ![
Cagpture
and i have checked the style and didn’t find any issue


#2

See:


#3

You don’t need to give different class for rtl/ltr.
Use in your scss file

@include rtl() {
//rtl styles
}

@include ltrl() {
//ltr styles
}

#4

thank you for reply … i will try it