Skip to content

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 MenuCommandInfo

Properties

PropertyTypeDescription
idstringThe command id, without the plugin-id prefix Obsidian adds.
namestringThe command name, as the command palette shows it after the plugin name.

Links to this page: