acceptTab method

void acceptTab(
  1. Tab tab
)

Move the dragged tab to this panel.

Implementation

void acceptTab(Tab tab) {
  tab.panel.closeTab(tab.id);
  tabs.add(tab);
  selectedTab = tabs.length - 1;
  tab.panel = this as TabPanel;
}