i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > commands > IApplicationRibbon > addTab

    commands.IApplicationRibbon.addTab() method

    Adds a new tab to the application ribbon.

    Signature:

    addTab(config: IRibbonTabConfig, insertBefore?: RibbonTabId | IRibbonTabActionArea | IHomeTabActionArea): IRibbonTabActionArea;
    

    Introduced: version 1.6

    Parameters

    Parameter Type Description
    config IRibbonTabConfig The information necessary for creating the tab.
    insertBefore RibbonTabId | IRibbonTabActionArea | IHomeTabActionArea (Optional) The existing tab to insert the new tab immediately before. If this is not specified, the new tab is added after all the existing tabs.

    Returns:

    IRibbonTabActionArea

    The area that represents the new tab in the application ribbon.

    In this article
    Back to top © N. Harris Computer Corporation