Constructor
new AppFactory(options)
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Description |
glassContext |
String
|
Contains the glass context of the application. |
features.name.excludes |
Array.<String>
|
List of feature names to prevent from loading for a feature collection. |
|
Methods
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Description |
assetId |
String
|
Specifies the dashboard asset ID. |
spec |
String
|
Specifies the dashboard specification. |
features.name.excludes |
Array.<String>
|
List of feature names to prevent from loading for a feature collection. |
|
Returns:
Dashboard API object
-
Type
-
Promise.<DashboardCoreAPI>
getFeature(featureName) → {Object}
Parameters:
Name |
Type |
Description |
featureName |
String
|
Name of feature that is supported by the AppFactory, for example 'ContentStore'. |
Returns:
Feature, for example ContentStore object.
-
Type
-
Object