Update model and add invalidated cycle

This commit is contained in:
Misode
2020-05-25 14:45:10 +02:00
parent 79a5742dad
commit 56f3766a13
9 changed files with 73 additions and 20 deletions

View File

@@ -9,6 +9,7 @@ export class StringNode extends AbstractNode<string> {
}
updateModel(el: Element, path: Path, model: DataModel) {
model.set(path, el.querySelector('input')?.value)
}
render(path: Path, value: string, view: TreeView) {