Skip to content

AppSetting

Defined in: src/obsidian/internals/AppSetting.d.ts:9

Extends

Properties

activeTab

activeTab: null | SettingTab

Defined in: src/obsidian/internals/AppSetting.d.ts:13

Current active tab of the settings modal


activeTabCloseable

activeTabCloseable: null | CloseableComponent

Defined in: src/obsidian/internals/AppSetting.d.ts:17

Closeable component for the active tab


app

app: App

Defined in: obsidian.d.ts:2810

Inherited from

Modal.app


containerEl

containerEl: HTMLElement

Defined in: obsidian.d.ts:2818

Inherited from

Modal.containerEl


contentEl

contentEl: HTMLElement

Defined in: obsidian.d.ts:2831

Inherited from

Modal.contentEl


lastTabId

lastTabId: string

Defined in: src/obsidian/internals/AppSetting.d.ts:29

Previously opened tab ID


modalEl

modalEl: HTMLElement

Defined in: obsidian.d.ts:2822

Inherited from

Modal.modalEl


pluginTabs

pluginTabs: SettingTab[]

Defined in: src/obsidian/internals/AppSetting.d.ts:33

List of all plugin tabs (core and community, ordered by precedence)


scope

scope: Scope

Defined in: obsidian.d.ts:2814

Inherited from

Modal.scope


settingTabs

settingTabs: SettingTab[]

Defined in: src/obsidian/internals/AppSetting.d.ts:37

List of all core settings tabs (editor, files & links, …)


shouldAnimate

shouldAnimate: boolean

Defined in: src/obsidian/augmentations/Modal.d.ts:18

Whether the modal should animate

Inherited from

Modal.shouldAnimate


shouldRestoreSelection

shouldRestoreSelection: boolean

Defined in: obsidian.d.ts:2836

Inherited from

Modal.shouldRestoreSelection


titleEl

titleEl: HTMLElement

Defined in: obsidian.d.ts:2827

Inherited from

Modal.titleEl


win

win: null | Window

Defined in: src/obsidian/augmentations/Modal.d.ts:22

Reference to the global Window object

Inherited from

Modal.win

Methods

close()

close(): void

Defined in: obsidian.d.ts:2850

Returns

void

Inherited from

Modal.close


onClose()

onClose(): void

Defined in: obsidian.d.ts:2858

Returns

void

Inherited from

Modal.onClose


onOpen()

onOpen(): void

Defined in: obsidian.d.ts:2854

Returns

void

Inherited from

Modal.onOpen


open()

open(): void

Defined in: obsidian.d.ts:2845

Returns

void

Inherited from

Modal.open


openTabById()

Call Signature

openTabById(id): HotkeysSettingTab

Defined in: src/obsidian/internals/AppSetting.d.ts:62

Parameters
id

"hotkeys"

Returns

HotkeysSettingTab

Call Signature

openTabById(id): SettingTab

Defined in: src/obsidian/internals/AppSetting.d.ts:68

Open a specific tab by ID

Parameters
id

string

ID of the tab to open

Returns

SettingTab


setContent()

setContent(content): this

Defined in: obsidian.d.ts:2867

Parameters

content

string | DocumentFragment

Returns

this

Inherited from

Modal.setContent


setTitle()

setTitle(title): this

Defined in: obsidian.d.ts:2863

Parameters

title

string

Returns

this

Inherited from

Modal.setTitle