MenuCommandInfo
A command registered through CommandHandlerComponent that can appear in a context menu, as the command switches list it.
Import:
import type { MenuCommandInfo } from '@mnaoumov/obsidian-lib/command-handlers/command-handler-component';Signature:
export interface MenuCommandInfoProperties
| Property | Type | Description |
|---|---|---|
| id | string | The command id, without the plugin-id prefix Obsidian adds. |
| name | string | The command name, as the command palette shows it after the plugin name. |
Links to this page: