PluginSettingTab
Defined in: obsidian.d.ts:3297
Provides a unified interface for users to configure the plugin.
See
https://docs.obsidian.md/Plugins/User+interface/Settings#Register+a+settings+tab
Extends
Constructors
new PluginSettingTab()
new PluginSettingTab(
app
,plugin
):PluginSettingTab
Defined in: obsidian.d.ts:3302
Parameters
app
plugin
Returns
Overrides
Properties
app
app:
App
Defined in: obsidian.d.ts:3773
Reference to the app instance.
Inherited from
containerEl
containerEl:
HTMLElement
Defined in: obsidian.d.ts:3779
Outermost HTML element on the setting tab.
Inherited from
id
id:
string
Defined in: src/obsidian/augmentations/SettingTab.d.ts:8
Unique ID of the tab
Inherited from
installedPluginsEl?
optional
installedPluginsEl:HTMLElement
Defined in: src/obsidian/augmentations/SettingTab.d.ts:14
Reference to installed plugins element
If
Tab is the community plugins tab
Inherited from
name
name:
string
Defined in: src/obsidian/augmentations/SettingTab.d.ts:18
Sidebar name of the tab
Inherited from
navEl
navEl:
HTMLElement
Defined in: src/obsidian/augmentations/SettingTab.d.ts:22
Sidebar navigation element of the tab
Inherited from
plugin?
optional
plugin:Plugin
Defined in: src/obsidian/augmentations/SettingTab.d.ts:28
Reference to the plugin that initialized the tab
If
Tab is a plugin tab
Inherited from
setting
setting:
Setting
Defined in: src/obsidian/augmentations/SettingTab.d.ts:32
Reference to the settings modal
Inherited from
Methods
display()
abstract
display():void
Defined in: obsidian.d.ts:3786
Called when the settings tab should be rendered.
Returns
void
See
https://docs.obsidian.md/Plugins/User+interface/Settings#Register+a+settings+tab
Inherited from
hide()
hide():
void
Defined in: obsidian.d.ts:3793
Hides the contents of the setting tab. Any registered components should be unloaded when the view is hidden. Override this if you need to perform additional cleanup.
Returns
void