Skip to main content
Version: Next

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

ParameterTypeDescription
idstringthe 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

ParameterTypeDescription
idstringparameter id
valueunknownthe value to replace the current value with.

Returns

void