Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 721 Bytes

Programmatic_Access_to_RTL_8bb4723.md

File metadata and controls

20 lines (13 loc) · 721 Bytes
loio
8bb4723002ef4dc19a065b2e30c5498f

Programmatic Access to RTL

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 OpenUI5 RTL configuration, use the following function call:

sap.ui.require(["sap/base/i18n/Localization"], (Localization) => {
    const bRtl = Localization.getRTL();
});