AppContext

Interface

This interface defines the properties that are not changed after the app loaded.

Properties

isInBuilder

isInBuilder: boolean

Whether the app is loaded in builder.

isRTL

isRTL: boolean

Whether it is right to left

isTouchDevice

isTouchDevice: boolean

Whether access from a touch device

locale

locale: string

The locale that the experience will use. Use the user's profile for sign-in users, use browser's locale for anonymous users.

translatedLocale

translatedLocale: string

The best match translation locale. All of the supported translations can be found this way: import {translatedLocales} from 'jimu-core'.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.