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 'obsidian-dev-utils/obsidian/notebook-navigator';

Signature:

export interface NotebookNavigatorMenus

Methods

MethodReturnsDescription
registerFileMenu(callback)NotebookNavigatorMenuDisposeRegisters a contributor to the file context menu.
registerFolderMenu(callback)NotebookNavigatorMenuDisposeRegisters a contributor to the folder context menu.

Links to this page: