arlas-web-core / Exports / ConfigService

Class: ConfigService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ConfigService()

Defined in

services/config.service.ts:32

Properties

confErrorBus

confErrorBus: Subject<string>

Bus of configuration error.

Defined in

services/config.service.ts:27

Methods

errorCallBack

errorCallBack(key): void

Notify bus error.

Parameters

Name Type
key string

Returns

void

Defined in

services/config.service.ts:50


getConfig

getConfig(): Object

Get configuration object.

Returns

Object

configuration Object

Defined in

services/config.service.ts:57


getValue

getValue(key): any

Retrieve Value from key in configuration object.

Parameters

Name Type
key string

Returns

any

configuration value

Defined in

services/config.service.ts:38


setConfig

setConfig(config): void

Set configuration object.

Parameters

Name Type Description
config Object Object

Returns

void

Defined in

services/config.service.ts:64