AppContext
Interface
This interface defines the properties that are not changed after the app loaded.
Properties
Property | Type | Notes |
---|---|---|
boolean | Indicates whether the app is loaded in builder. | |
boolean | Whether the app is oriented right to left. | |
boolean | Indicates whether access is from a touch device. | |
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. | |
string | The best match translation locale. All of the supported translations can be found this way: |
isInBuilder
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:
isInBuilder: boolean
Indicates whether the app is loaded in builder.