ISourceConfigurable
Defined in: core/source/iconfig.ts:9
Methods
Section titled “Methods”applyConfig()
Section titled “applyConfig()”applyConfig(
configObj):any
Defined in: core/source/iconfig.ts:44
param: config
Requests the source to save a configuration. This makes the source emit the apply-config event.
Chainable.
Parameters
Section titled “Parameters”configObj
Section titled “configObj”any
Returns
Section titled “Returns”any
loadConfig()
Section titled “loadConfig()”loadConfig():
Promise<any>
Defined in: core/source/iconfig.ts:15
return: Promise
Gets the configuration JSON
Returns
Section titled “Returns”Promise<any>
requestSaveConfig()
Section titled “requestSaveConfig()”requestSaveConfig(
configObj):any
Defined in: core/source/iconfig.ts:34
param: config
Requests the source to save a configuration. This makes the source emit the save-config event.
Chainable.
Parameters
Section titled “Parameters”configObj
Section titled “configObj”any
Returns
Section titled “Returns”any
saveConfig()
Section titled “saveConfig()”saveConfig(
configObj):any
Defined in: core/source/iconfig.ts:24
param: config
Persists a JSON object for configuration. Available to sources only.
Chainable.
Parameters
Section titled “Parameters”configObj
Section titled “configObj”any
Returns
Section titled “Returns”any