NotebookNavigatorMenus
The menus namespace of Notebook Navigator’s API.
Only the file and folder registrars are declared: the tag and property registrars extend menus raised on things a file/folder command handler has no counterpart for.
Import:
import type { NotebookNavigatorMenus } from '@mnaoumov/obsidian-lib/notebook-navigator';Signature:
export interface NotebookNavigatorMenusProperties
| Property | Type | Description |
|---|---|---|
| registerFileMenu | (callback: (context: NotebookNavigatorFileMenuContext) => void) => NotebookNavigatorMenuDispose | Registers a contributor to the file context menu. |
| registerFolderMenu | (callback: (context: NotebookNavigatorFolderMenuContext) => void) => NotebookNavigatorMenuDispose | Registers a contributor to the folder context menu. |
Links to this page: