FileCommandHandlerShouldAddToFileMenuParams
Parameters for FileCommandHandler.shouldAddToFileMenu.
Import:
import type { FileCommandHandlerShouldAddToFileMenuParams } from 'obsidian-dev-utils/obsidian/command-handlers/file-command-handler';Signature:
export interface FileCommandHandlerShouldAddToFileMenuParamsProperties
| Property | Type | Description |
|---|---|---|
| file | TFile | The file. |
| leaf? | undefined | WorkspaceLeaf | The workspace leaf, if available. |
| source | string | The source of the event. |