Skip to content

NotebookNavigatorMenus.registerFolderMenu method

NotebookNavigatorMenus › registerFolderMenu

Registers a contributor to the folder context menu.

Signature:

registerFolderMenu(callback: (context: NotebookNavigatorFolderMenuContext) => void): NotebookNavigatorMenuDispose

Parameters:

ParameterTypeDescription
callback(context: NotebookNavigatorFolderMenuContext) => voidInvoked while the menu is being built.

Returns: NotebookNavigatorMenuDisposeA function that unregisters the contributor.