PluginSettingsTabBase.getControlValue method
PluginSettingsTabBase › getControlValue
Reads the value backing a nativecontrol setting definition.Obsidian calls it on every render of a
control-type definition. The inherited implementation reads plugin.settings, which a plugin built on PluginSettingsComponentBase never populates, so it is routed to the settings component instead.Signature:
getControlValue(key: string): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The settings property name. |
Returns: unknown — The current value.