en | fr

The Config class


Wrapper around the local storage to manage the user configuration.

Configuration settings are stored on a per service basis under a service_config key (e.g. local_config).


meta

Returns the configuration for the meta section.

Returns Object


local

Returns the configuration for the local section.

Returns Object


soundcloud

Returns the configuration for the SoundCloud section.

Returns Object


youtube

Returns the configuration for the YouTube section.

Returns Object


default

Contains the default configuration settings for all the services.

Returns Object


read

Reads the configuration setting of a given section reading from the local storage or returning the default value if unset.

Parameters

Returns (Object | String | Number)


store

Stores a given configuration setting in the local storage making sure that the previous values are kept.

Parameters

Returns null