I am in the process of developing a mobile application using ionic 4
. The app supports two languages, namely ar
and en
. The menu drawer is a pre-built component included within the app.
In order to ensure that the drawer component displays the correct styles based on the direction of the document (rtl
or ltr
), I need to refresh it.
Currently, my approach involves simply using location.reload
to reload the entire application. However, I believe there may be a better method for achieving this.