This commit is contained in:
Ian Gulliver
2024-12-21 21:49:43 -08:00
parent 7af1112a73
commit 721b382e63
10 changed files with 53 additions and 60 deletions

View File

@@ -8,13 +8,13 @@ export class SLTabGroup extends ElemWrapper {
addTab(panel: string): SLTab {
const tab = new SLTab(panel);
this.appendAfterLastChild("sl-tab", tab);
this.append(tab);
return tab;
}
addTabPanel(name: string): SLTabPanel {
const tabPanel = new SLTabPanel(name);
this.appendAfterLastChild("sl-tab-panel", tabPanel);
this.append(tabPanel);
return tabPanel;
}