Skip to content

InternalPlugins

Defined in: src/obsidian/internals/InternalPlugins/InternalPlugins.d.ts:14

Extends

Properties

_

_: Record<string, EventsEntry[]>

Defined in: src/obsidian/augmentations/Events.d.ts:5

Inherited from

Events._


app

app: App

Defined in: src/obsidian/internals/InternalPlugins/InternalPlugins.d.ts:18

Reference to App


config

config: InternalPluginsConfigRecord

Defined in: src/obsidian/internals/InternalPlugins/InternalPlugins.d.ts:22

Mapping of whether an internal plugin is enabled


plugins

plugins: object

Defined in: src/obsidian/internals/InternalPlugins/InternalPlugins.d.ts:28

Plugin configs for internal plugins

audio-recorder

audio-recorder: AudioRecorderPlugin

backlink: BacklinkPlugin

bookmarks

bookmarks: BookmarksPlugin

browser

browser: BrowserPlugin

canvas

canvas: CanvasPlugin

command-palette

command-palette: CommandPalettePlugin

daily-notes

daily-notes: DailyNotesPlugin

editor-status

editor-status: EditorStatusPlugin

file-explorer

file-explorer: FileExplorerPlugin

file-recovery

file-recovery: FileRecoveryPlugin

global-search: GlobalSearchPlugin

graph

graph: GraphPlugin

markdown-importer

markdown-importer: MarkdownImporterPlugin

note-composer

note-composer: NoteComposerPlugin

outgoing-link: OutgoingLinkPlugin

outline

outline: OutlinePlugin

page-preview

page-preview: PagePreviewPlugin

properties

properties: PropertiesPlugin

publish

publish: PublishPlugin

random-note

random-note: RandomNotePlugin

slash-command

slash-command: SlashCommandPlugin

slides

slides: SlidesPlugin

switcher

switcher: SwitcherPlugin

sync

sync: SyncPlugin

tag-pane

tag-pane: TagPanePlugin

templates

templates: TemplatesPlugin

word-count

word-count: WordCountPlugin

workspaces

workspaces: WorkspacesPlugin

zk-prefixer

zk-prefixer: ZkPrefixerPlugin

Methods

getEnabledPluginById()

getEnabledPluginById<ID>(id): null | InternalPluginNameInstancesMapping[ID]

Defined in: src/obsidian/internals/InternalPlugins/InternalPlugins.d.ts:41

Get an enabled internal plugin by ID

Type Parameters

ID extends InternalPluginNameType

Parameters

id

ID

ID of the plugin to get

Returns

null | InternalPluginNameInstancesMapping[ID]


getEnabledPlugins()

getEnabledPlugins(): InternalPlugin<unknown>[]

Defined in: src/obsidian/internals/InternalPlugins/InternalPlugins.d.ts:45

Get all enabled internal plugins

Returns

InternalPlugin<unknown>[]


getPluginById()

getPluginById<ID>(id): null | InternalPluginNamePluginsMapping[ID]

Defined in: src/obsidian/internals/InternalPlugins/InternalPlugins.d.ts:51

Get an internal plugin by ID

Type Parameters

ID extends InternalPluginNameType

Parameters

id

ID

ID of the plugin to get

Returns

null | InternalPluginNamePluginsMapping[ID]


off()

off(name, callback): void

Defined in: obsidian.d.ts:1441

Parameters

name

string

callback

(…data) => unknown

Returns

void

Inherited from

Events.off


offref()

offref(ref): void

Defined in: obsidian.d.ts:1445

Parameters

ref

EventRef

Returns

void

Inherited from

Events.offref


on()

on(name, callback, ctx?): EventRef

Defined in: obsidian.d.ts:1437

Parameters

name

string

callback

(…data) => unknown

ctx?

any

Returns

EventRef

Inherited from

Events.on


trigger()

trigger(name, …data): void

Defined in: obsidian.d.ts:1449

Parameters

name

string

data

unknown[]

Returns

void

Inherited from

Events.trigger


tryTrigger()

tryTrigger(evt, args): void

Defined in: obsidian.d.ts:1453

Parameters

evt

EventRef

args

unknown[]

Returns

void

Inherited from

Events.tryTrigger