Skip to content

FileCommandHandlerShouldAddToFilesMenuParams

Parameters for FileCommandHandler.shouldAddToFilesMenu.

Import:

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

Signature:

export interface FileCommandHandlerShouldAddToFilesMenuParams

Properties

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