Skip to content

obsidian/SettingGroup

Mock of Obsidian’s SettingGroup, a titled group of setting rows.

Class Description
SettingGroup Mock of Obsidian’s SettingGroup, which groups setting rows under an optional heading. The DOM mirrors Obsidian’s: SettingGroup.groupEl holds a search container (.setting-group-search), SettingGroup.listEl, and a heading row (a name and SettingGroup.controlEl) that is attached at the top of the group only while it has a heading or a control. Every added row or control is handed to its callback synchronously.