added root path alias, icons, improved framework semantics

This commit is contained in:
Daniel Ledda
2022-02-27 22:59:30 +01:00
parent 352f6d6b9a
commit 7fca44f6c0
25 changed files with 207 additions and 284 deletions

View File

@@ -1,5 +1,5 @@
import "./BoolBox.css";
import UINode, {UINodeOptions} from "../../UINode";
import UINode, {UINodeOptions} from "@/ui/UINode";
export type BoolBoxUINodeOptions = UINodeOptions & {
label?: string,
@@ -35,7 +35,7 @@ export default class BoolBoxView extends UINode {
this.checkboxElement.checked = isChecked;
}
rebuild(): HTMLDivElement {
build(): HTMLDivElement {
this.labelElement = UINode.make("label", {
classes: ["bool-box-label"],
innerText: this.label ?? "",