AppContext

Interface

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

Properties

isInBuilder
isInBuilder: boolean

Indicates whether the app is loaded in builder.

isRTL
isRTL: boolean

Whether the app is oriented right to left.

isTouchDevice
isTouchDevice: boolean

Indicates whether access is from a touch device.

locale
locale: string

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

translatedLocale
translatedLocale: string

The best match translation locale. All of the supported translations can be found this way:

 
1
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.