AbstractFileCommandHandlerHandleAbstractFileMenuParams
Parameters for AbstractFileCommandHandler.handleAbstractFileMenu.
Import:
import type { AbstractFileCommandHandlerHandleAbstractFileMenuParams } from 'obsidian-dev-utils/obsidian/command-handlers/abstract-file-command-handler';Signature:
export interface AbstractFileCommandHandlerHandleAbstractFileMenuParamsProperties
| Property | Type | Description |
|---|---|---|
| abstractFile | TAbstractFile | The file or folder. |
| leaf? | undefined | WorkspaceLeaf | The workspace leaf, if available. |
| menu | Menu | The menu to add items to. |
| source | string | The source of the event. |