DeclarativePluginSettingTab
API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.
Defined in: plugin-settings.ts:50
Compatibility settings tab backed by the same controlled definition as the Workspace Settings surface.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DeclarativePluginSettingTab(
app,plugin,definition):DeclarativePluginSettingTab
Defined in: plugin-settings.ts:55
Parameters
Section titled “Parameters”plugin
Section titled “plugin”definition
Section titled “definition”WorkspaceSettingsDefinition
Returns
Section titled “Returns”DeclarativePluginSettingTab
Overrides
Section titled “Overrides”Properties
Section titled “Properties”
readonlyapp:App
Defined in: settings.svelte.ts:1105
Inherited from
Section titled “Inherited from”containerEl
Section titled “containerEl”containerEl:
HTMLElement
Defined in: settings.svelte.ts:1103
Outermost HTML element on the setting tab.
Inherited from
Section titled “Inherited from”plugin
Section titled “plugin”
readonlyplugin:Plugin
Defined in: settings.svelte.ts:1128
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”display()
Section titled “display()”display():
void
Defined in: plugin-settings.ts:64
Called when the settings tab should be rendered.
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”hide()
Section titled “hide()”hide():
void
Defined in: plugin-settings.ts:83
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
Section titled “Returns”void