Config
Constructors
Constructor
new Config(): Config;
Returns
Config
Methods
getParameter()
static getParameter(id): unknown;
Return the value of the specified parameter. Parameters can get their values from the oConfig.json file or be overridden from the URL / command that opened the application.
Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | the parameter id |
Returns
unknown
setParameter()
static setParameter(id, value): void;
Set the value of the specified parameter. It overrides the current value of the parameter wherever it is coming from.
Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | parameter id |
value | unknown | the value to replace the current value with. |
Returns
void