Members
# getConfig
Method used to retrieve the configuration set for an app.
# getConfig
Method used to retrieve the configuration set for an app.
# getCurrentLocation
Method used to get the type of currently running UI location of the app.
# getCurrentLocation
Method used to get the type of currently running UI location of the app.
# getCurrentRegion
Method used to get the Contentstack Region on which the app is running.
# getCurrentRegion
Method used to get the Contentstack Region on which the app is running.
# location
This holds the information of the currently running location of an App.
# locationUID
This value represents the current location's unique ID. One App may contain multiple locations
string
# locationUID
This value represents the current location's unique ID. One App may contain multiple locations
# metadata
This holds the instance of the Metadata class used to manage metadata.
# modal
This holds the instance of a helper class used to manage modals in an App.
# postRobot
This holds the instance of Cross-domain communication library for posting messages between windows.
# postRobot
This holds the instance of Cross-domain communication library for posting messages between windows.
# stack
This holds the stack instance that allows users to read and manipulate a range of objects in a stack.
Stack
# stack
This holds the stack instance that allows users to read and manipulate a range of objects in a stack.
# store
Store to persist data for extension.
Note: Data is stored in the browser's external:localStorage and will be lost if the external:localStorage is cleared in the browser.
Methods
# async static initialize(version) → {Promise.<InitializationData>}
Method used to initialize the App SDK.
Parameters:
| Name | Type | Description |
|---|---|---|
version |
Version of the app SDK in use. |
Promise.<InitializationData>