Home > @activeviam/activeui-sdk > SettingsManager > addListener
SettingsManager.addListener property
Listen to the value of the given setting. If callImmediately
is set to true, the callback will be called immediately with the current value.
Signature:
addListener: (key: SettingKey, callback: Listener<SettingValue>, callImmediately?: boolean) => RemoveListener;