AppSetting
Extends
Properties
activeTab
activeTab:
null
|SettingTab
Current active tab of the settings modal
activeTabCloseable
activeTabCloseable:
null
|CloseableComponent
Closeable component for the active tab
app
app:
App
Inherited from
containerEl
containerEl:
HTMLElement
Inherited from
contentEl
contentEl:
HTMLElement
Inherited from
lastTabId
lastTabId:
string
Previously opened tab ID
modalEl
modalEl:
HTMLElement
Inherited from
pluginTabs
pluginTabs:
SettingTab
[]
List of all plugin tabs (core and community, ordered by precedence)
scope
scope:
Scope
Inherited from
settingTabs
settingTabs:
SettingTab
[]
List of all core settings tabs (editor, files & links, …)
shouldAnimate
shouldAnimate:
boolean
Whether the modal should animate
Inherited from
shouldRestoreSelection
shouldRestoreSelection:
boolean
Inherited from
titleEl
titleEl:
HTMLElement
Inherited from
win
win:
null
|Window
Reference to the global Window object
Inherited from
Methods
close()
close():
void
Returns
void
Inherited from
onClose()
onClose():
void
Returns
void
Inherited from
onOpen()
onOpen():
void
Returns
void
Inherited from
open()
open():
void
Returns
void
Inherited from
openTabById()
openTabById(id)
openTabById(
id
):HotkeysSettingTab
Parameters
• id: "hotkeys"
Returns
openTabById(id)
openTabById(
id
):SettingTab
Open a specific tab by ID
Parameters
• id: string
ID of the tab to open
Returns
setContent()
setContent(
content
):this
Parameters
• content: string
| DocumentFragment
Returns
this
Inherited from
setTitle()
setTitle(
title
):this
Parameters
• title: string
Returns
this