Skip to content

PLUGIN_LOADED_EVENT_NAME

Triggered once a plugin has finished loading AND published every API it declares, so a listener may call those APIs immediately.

Namespaced by the package name rather than by an abbreviation of it: the event is global to the vault and aimed at plugin authors who have never heard of this library, so the prefix has to identify itself.

Import:

import { PLUGIN_LOADED_EVENT_NAME } from 'obsidian-dev-utils/obsidian/plugin/plugin-lifecycle-events';

Signature:

const PLUGIN_LOADED_EVENT_NAME: "obsidian-dev-utils:plugin-loaded"

Type: “obsidian-dev-utils:plugin-loaded”


Links to this page: