AppContext

Interface

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

Properties

PropertyTypeNotes
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

Interface Property
isInBuilder: boolean

Indicates whether the app is loaded in builder.

isRTL

Interface Property
isRTL: boolean

Whether the app is oriented right to left.

isTouchDevice

Interface Property
isTouchDevice: boolean

Indicates whether access is from a touch device.

locale

Interface Property
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

Interface Property
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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close