Skip to content

PluginSettingsTabBaseSettingExParams.render

PluginSettingsTabBaseSettingExParams › render

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

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.