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

Function updateMenus

  • updateMenus(menus, data, menuFactory): 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) => Menu)

      Empty menu factory

        • (options): Menu
        • Parameters

          • options: MenuFactory.IMenuOptions

          Returns Menu

    Returns Menu[]

    Newly created menus

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

Settings

Member Visibility

Theme

On This Page

Note
@jupyterlab
  • Loading...

Generated using TypeDoc