implemented amounts in gui
This commit is contained in:
1 parent
4b3b8f4fe5
commit
9b74e6ee85
3 files changed
+206
-5
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user