Skip to content

AbstractFileCommandHandlerHandleAbstractFilesMenuParams

Parameters for AbstractFileCommandHandler.handleAbstractFilesMenu.

Import:

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

Signature:

export interface AbstractFileCommandHandlerHandleAbstractFilesMenuParams

Properties

PropertyTypeDescription
abstractFilesTAbstractFile[]The files or folders.
leaf?undefined | WorkspaceLeafThe workspace leaf, if available.
menuMenuThe menu to add items to.
sourcestringThe source of the event.