implemented amounts in gui

This commit is contained in:
ide committed 2026-01-04 00:30:35 +01:00
1 parent 4b3b8f4fe5
commit 9b74e6ee85
3 files changed
+206 -5

No files matched your search

+3
View File
@@ -1,6 +1,7 @@
export struct SItem {
name: string,
checked: bool,
amount: int,
}
export global State {
@@ -13,6 +14,8 @@ export global State {
callback add-to-list(string);
callback check-item(string);
callback delete-checked();
callback inc-amount(string);
callback dec-amount(string);
in-out property <string> server-address;
callback set-server-address(string);
set-server-address(address) => {