Class: TabPanel

UI.Components. TabPanel


new TabPanel(options)

Creates a new instance of TabPanel.
Parameters:
Name Type Description
options TabPanelProperties An object that contains the properties of the tab panel.
Example
const tabPanel = new UI.Components.TabPanel({
    dataElement: 'customLeftPanel',
    panelsList: [
      {
        render: UI.Panels.THUMBNAIL
      },
      {
        render: UI.Panels.OUTLINE
      },
      {
        render: UI.Panels.BOOKMARKS
      },
      {
        render: UI.Panels.LAYERS
      },
      {
        render: UI.Panels.SIGNATURE
      },
      {
        render: UI.Panels.FILE_ATTACHMENT
      },
      {
        render: UI.Panels.PORTFOLIO
      }
    ],
    location: 'left'
  });

Members


panelsList

The panels to be displayed in the tab panel.