NotebookNavigatorFolderMenuContext
What menus.registerFolderMenu hands a subscriber when a FOLDER is right-clicked.
Import:
import type { NotebookNavigatorFolderMenuContext } from '@mnaoumov/obsidian-lib/notebook-navigator';Signature:
export interface NotebookNavigatorFolderMenuContext extends NotebookNavigatorMenuContextExtends: NotebookNavigatorMenuContext
Properties
| Property | Type | Description |
|---|---|---|
| addItem | (callback: (item: MenuItem) => void) => void | Adds an item to the menu Notebook Navigator is building.(Inherited from NotebookNavigatorMenuContext) |
| folder | TFolder | The folder that was right-clicked. |
Links to this page: