Class ConfigModel

Object used to expose all the Configurations we get from the dynamic.json.

If you are in an element that extends BaseElement you just need to implement the initConfig to get the configuration.

Example of usage:

   (window as any).gmfapi.store.config.getConfig().subscribe({
next: (configuration: Configuration) => {
if (configuration) {
...
}
},
})

Hierarchy

  • ConfigModel

Constructors

Methods

Constructors

Methods

  • Returns

    the configuration.

    Returns BehaviorSubject<Configuration>

  • Set the configuration.

    Parameters

    Returns void

Generated using TypeDoc