NotebookNavigatorMenus.registerFolderMenu method
NotebookNavigatorMenus › registerFolderMenu
Registers a contributor to the folder context menu.Signature:
registerFolderMenu(callback: (context: NotebookNavigatorFolderMenuContext) => void): NotebookNavigatorMenuDisposeParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (context: NotebookNavigatorFolderMenuContext) => void | Invoked while the menu is being built. |
Returns: NotebookNavigatorMenuDispose — A function that unregisters the contributor.