AbstractFileCommandHandlerConstructorParams
Parameters for creating an abstract file command handler.
Import:
import type { AbstractFileCommandHandlerConstructorParams } from 'obsidian-dev-utils/obsidian/command-handlers/abstract-file-command-handler';Signature:
export interface AbstractFileCommandHandlerConstructorParams extends CommandHandlerConstructorParamsExtends: CommandHandlerConstructorParams
Properties
| Property | Type | Description |
|---|---|---|
| fileMenuItemName? | string | undefined | The item name to use in the single-file menu. |
| fileMenuSection? | string | undefined | The section to use in the single-file menu. |
| fileMenuSubmenuIcon? | IconName | undefined | The icon to use in the single-file menu submenu. |
| filesMenuItemName? | string | undefined | The item name to use in the multi-file menu. |
| filesMenuSection? | string | undefined | The section to use in the multi-file menu. |
| filesMenuSubmenuIcon? | IconName | undefined | The icon to use in the multi-file menu submenu. |
| icon | IconName | The icon for the command. (Inherited from CommandHandlerConstructorParams) |
| id | string | The ID of the command. (Inherited from CommandHandlerConstructorParams) |
| name | string | The display name of the command. (Inherited from CommandHandlerConstructorParams) |
| shouldAddCommandToSubmenu? | boolean | undefined | Whether to add the command to a submenu. |