still working on the layout tool

- started doing it in a more adhoc way and will engineer it once I have
a clear vision
This commit is contained in:
2026-02-12 23:03:57 +00:00
parent 97caeafd58
commit f2d92c80ee
9 changed files with 678 additions and 154 deletions
+5
View File
@@ -112,3 +112,8 @@ func (d *DOM) GetNodeByID(ID string) *UINode {
func (d *DOM) AppendElem(root *UINode, elem *UINode) error {
return root.AppendItem(elem)
}
// DeleteElem deletes and element from the DOM
func (d *DOM) DeleteElem(elem *UINode) {
delete(d.elements, elem.ID)
}