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