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 'obsidian-dev-utils/obsidian/notebook-navigator';Signature:
export interface NotebookNavigatorMenusMethods
| Method | Returns | Description |
|---|---|---|
| registerFileMenu(callback) | NotebookNavigatorMenuDispose | Registers a contributor to the file context menu. |
| registerFolderMenu(callback) | NotebookNavigatorMenuDispose | Registers a contributor to the folder context menu. |
Links to this page: