acceptTab method
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;
}
Move the dragged tab
to this panel.
void acceptTab(Tab tab) {
tab.panel.closeTab(tab.id);
tabs.add(tab);
selectedTab = tabs.length - 1;
tab.panel = this as TabPanel;
}