Some controls need to provide specific coding for right-to-left mode (RTL), for example, because they position or animate elements programmatically, and not via CSS. To read the SAPUI5 RTL configuration, use the following function call:
var bRtl = sap.ui.getCore().getConfiguration().getRTL();