Class: SettingsNamespace
Hierarchy
NamespaceBase
↳
SettingsNamespace
Methods
getSetting
▸ getSetting<T
>(settingId
): Promise
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
settingId | string |
Returns
Promise
<T
>
registerBooleanSetting
▸ registerBooleanSetting(setting
): Promise
<void
>
Parameters
Name | Type |
---|---|
setting | PluginSettingBase <boolean > |
Returns
Promise
<void
>
registerDropdownSetting
▸ registerDropdownSetting(setting
): Promise
<void
>
Parameters
Name | Type |
---|---|
setting | PluginDropdownSetting |
Returns
Promise
<void
>
registerNumberSetting
▸ registerNumberSetting(setting
): Promise
<void
>
Parameters
Name | Type |
---|---|
setting | PluginSettingBase <number > |
Returns
Promise
<void
>
registerStringSetting
▸ registerStringSetting(setting
): Promise
<void
>
Parameters
Name | Type |
---|---|
setting | PluginStringSetting |
Returns
Promise
<void
>