sl tab wrappers

This commit is contained in:
Ian Gulliver
2024-12-21 21:42:54 -08:00
parent e351828d07
commit 7af1112a73
11 changed files with 279 additions and 29 deletions

9
ts/sltab.ts Normal file
View File

@@ -0,0 +1,9 @@
import { ElemWrapper } from "./elemwrapper";
export class SLTab extends ElemWrapper {
constructor(panel: string) {
super(document.createElement("sl-tab"));
this.setAttribute("panel", panel);
this.setAttribute("slot", "nav");
}
}