Skip to content

InstallAndEnablePluginParams

Parameters for installAndEnablePlugin.

Import:

import type { InstallAndEnablePluginParams } from 'obsidian-dev-utils/obsidian/plugin/plugin-install-state';

Signature:

export interface InstallAndEnablePluginParams

Properties

PropertyTypeDescription
appAppThe Obsidian app instance.
pluginIdstringThe manifest.id of the plugin to install and enable.
pluginNamestringThe display name of the plugin, shown to the user.
pluginNoticeComponentPluginNoticeComponentThe notice component of the plugin doing the asking, used to report the outcome.

Links to this page: