SettingDefinitionBase
Official
Import:
import type { SettingDefinitionBase } from 'obsidian';Signature:
export interface SettingDefinitionBaseProperties
| Property | Type | Description | |
|---|---|---|---|
| aliases? | string[] | Additional search terms. | |
| desc? | string | DocumentFragment | Description text or fragment. Used for rendering; the textContent of a fragment is used for search. | |
| name | string | Display name — used for rendering and search. | |
| searchable? | boolean | (() => boolean) | Controls search visibility. false or () => false excludes from search. Default: true. | |
| visible? | boolean | (() => boolean) | Controls whether the item is rendered. false or () => false hides the item and also excludes it from search for that render cycle. Evaluated on each render; call update() on the setting tab to re-evaluate after the underlying state changes. Default: true. |
Links to this page: