I want to change the direction of the side menu automatically when i change the language (rtl and ltr) i tried this code in the page app.html
<ion-menu [side]="isRtl?'right':'left'" [content]="content">
How can i change the value of 'isRtl' from another page or example "home.ts" ?
'isRtl' is declared in 'app.component.ts' any help guys ?