Skip to content

AbstractFileCommandHandlerShouldAddToAbstractFileMenuParams

Parameters for AbstractFileCommandHandler.shouldAddToAbstractFileMenu.

Import:

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

Signature:

export interface AbstractFileCommandHandlerShouldAddToAbstractFileMenuParams

Properties

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