InstallAndEnablePluginParams
Parameters for installAndEnablePlugin.
Import:
import type { InstallAndEnablePluginParams } from 'obsidian-dev-utils/obsidian/plugin/plugin-install-state';Signature:
export interface InstallAndEnablePluginParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | The Obsidian app instance. |
| pluginId | string | The manifest.id of the plugin to install and enable. |
| pluginName | string | The display name of the plugin, shown to the user. |
| pluginNoticeComponent | PluginNoticeComponent | The notice component of the plugin doing the asking, used to report the outcome. |
Links to this page: