Skip to content

AbstractFileCommandHandlerHandleAbstractFileMenuParams

Parameters for AbstractFileCommandHandler.handleAbstractFileMenu.

Import:

import type { AbstractFileCommandHandlerHandleAbstractFileMenuParams } from 'obsidian-dev-utils/obsidian/command-handlers/abstract-file-command-handler';

Signature:

export interface AbstractFileCommandHandlerHandleAbstractFileMenuParams

Properties

PropertyTypeDescription
abstractFileTAbstractFileThe file or folder.
leaf?undefined | WorkspaceLeafThe workspace leaf, if available.
menuMenuThe menu to add items to.
sourcestringThe source of the event.