Skip to main content

Class: SettingsNamespace

Hierarchy

  • NamespaceBase

    SettingsNamespace

Methods

getSetting

getSetting<T>(settingId): Promise<T>

Type parameters

Name
T

Parameters

NameType
settingIdstring

Returns

Promise<T>


registerBooleanSetting

registerBooleanSetting(setting): Promise<void>

Parameters

NameType
settingPluginSettingBase<boolean>

Returns

Promise<void>


registerDropdownSetting

registerDropdownSetting(setting): Promise<void>

Parameters

NameType
settingPluginDropdownSetting

Returns

Promise<void>


registerNumberSetting

registerNumberSetting(setting): Promise<void>

Parameters

NameType
settingPluginSettingBase<number>

Returns

Promise<void>


registerStringSetting

registerStringSetting(setting): Promise<void>

Parameters

NameType
settingPluginStringSetting

Returns

Promise<void>