Skip to content

AbstractFileCommandHandlerShouldAddToAbstractFilesMenuParams

Parameters for AbstractFileCommandHandler.shouldAddToAbstractFilesMenu.

Import:

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

Signature:

export interface AbstractFileCommandHandlerShouldAddToAbstractFilesMenuParams

Properties

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