PluginSettingTab
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
Parameters
• app: App
• plugin: Plugin
Returns
Overrides
Properties
app
app:
App
Reference to the app instance.
Inherited from
containerEl
containerEl:
HTMLElement
Outermost HTML element on the setting tab.
Inherited from
id
id:
string
Unique ID of the tab
Inherited from
installedPluginsEl?
optional
installedPluginsEl:HTMLElement
Reference to installed plugins element
If
Tab is the community plugins tab
Inherited from
name
name:
string
Sidebar name of the tab
Inherited from
navEl
navEl:
HTMLElement
Sidebar navigation element of the tab
Inherited from
plugin?
optional
plugin:Plugin
Reference to the plugin that initialized the tab
If
Tab is a plugin tab
Inherited from
setting
setting:
Setting
Reference to the settings modal
Inherited from
Methods
display()
abstract
display():void
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
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