Skip to content

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 NotebookNavigatorMenus

Properties

PropertyTypeDescription
registerFileMenu(callback: (context: NotebookNavigatorFileMenuContext) => void) => NotebookNavigatorMenuDisposeRegisters a contributor to the file context menu.
registerFolderMenu(callback: (context: NotebookNavigatorFolderMenuContext) => void) => NotebookNavigatorMenuDisposeRegisters a contributor to the folder context menu.

Links to this page: