ComPDFKit Web SDK
    Preparing search index...

    Function setActiveLeftPanel

    • Sets the active tab of the left panel; same as setActiveTabInPanel({ tabPanel: 'tabPanel', tabName }) (replaces the 2.x setActiveElementTab).

      Parameters

      • dataElement: string

        The dataElement of the tab.

      Returns void

      instance.UI.setActiveLeftPanel(instance.UI.Panels.OUTLINE);
      instance.UI.openElements([instance.UI.Panels.TABS]);