Constructor
new GalleryConfigLoader()
Create the gallery configuration loading object.
- Source:
Members
serviceConfigDict
Return the service configuration dictionary, regardless of whether it was loaded via catalogue or somewhere else (future).
- Source:
Methods
loadConfigData(sourceID)
Load the entire gallery configuration based on an identifier.
This identifier is known to a catalog response.
With it, the gallery service configuration can be loaded from the catalog.
Furthermore, it contains the URL to the gallery.config.json file, that is finally loaded too.
Parameters:
Name | Type | Description |
---|---|---|
sourceID |
* | Identifier for the gallery source data. |
- Source:
Returns:
Promise with the gallery configuration.