Skip to content

PluginSettingsTabBaseSettingExParams.render method

PluginSettingsTabBaseSettingExParams › render

Renders the setting row imperatively, typically via the SettingEx adders and PluginSettingsTabBase.bind.

The setting Obsidian creates for the row is adopted into a SettingEx before it is handed over, so an imperative row body carries over unchanged. May return a cleanup function, invoked before the row is torn down or re-rendered.

Signature:

render(setting: SettingEx, group: SettingGroup): (() => void) | void

Parameters:

ParameterTypeDescription
settingSettingExThe setting to render into.
groupSettingGroupThe group the setting belongs to.

Returns: (() => void) | voidAn optional cleanup function.