GitHubJupyter
  • Preparing search index...
  • The search index is not available
@jupyterlab
  • @jupyterlab
  • apputils
  • MenuFactory
  • updateMenus

Function updateMenus

  • updateMenus(
        menus: Menu[],
        data: IMenu[],
        menuFactory: (options: MenuFactory.IMenuOptions) => Menu,
    ): Menu[]
  • Update an existing list of menu and returns the new elements.

    Note

    New elements are added to the current menu list.

    Parameters

    • menus: Menu[]

      Current menus

    • data: IMenu[]

      New description to take into account

    • menuFactory: (options: MenuFactory.IMenuOptions) => Menu

      Empty menu factory

    Returns Menu[]

    Newly created menus

    • Defined in packages/apputils/src/menufactory.ts:141

Settings

Member Visibility

On This Page

Note
GitHubJupyter
@jupyterlab
  • Loading...

Generated using TypeDoc