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

@@ -1,4 +1,5 @@
import { ElemWrapper } from "./elemwrapper";
import { SLIcon } from "./slicon";
import { SLTabGroup } from "./sltabgroup";
async function main() {
@@ -8,22 +9,10 @@ async function main() {
root.append(tabGroup);
const [tasksTab, tasksPanel] = tabGroup.addTabSet("tasks");
tasksTab
.add(
"sl-icon",
"name", "slash-circle",
"style", "font-size: 20px",
);
tasksTab.append(new SLIcon("slash-circle"));
const [tagsTab, tagsPanel] = tabGroup.addTabSet("tags");
tagsTab
.add(
"sl-icon",
"name", "tags",
"style", "font-size: 20px",
);
tagsTab.append(new SLIcon("tags"));
}
document.addEventListener("DOMContentLoaded", main);