Commit graph

15 commits

Author SHA1 Message Date
hitoshihrm
0a7136b8fc
3 tiny changes for "All Done" button. (#136)
1."onAllDone" callback fixation.
Because the callback deletes all tasks instead of making them done, fixed.

2.Retouching checkbox and label property.
Because a checkbox didn't work and label did'nt affect the checkbox, I set
the callback on checkbox, and rename label's "for" property.

3.Adding Global var "doneswitch" for convinience.
I guess the button should be able to make "All Done" and "All Undone"
because the checkbox is not a button. So make it done, undone button
interfaced with the checkbox's display.
2020-03-12 09:23:07 +01:00
Araq
a90efe752d merged #53 manually; todoapp must ignore empty input lines 2018-12-12 12:34:35 +01:00
Araq
5576c4809d Karax: better support for routing; easier to use; todoapp bugfix: misapplied .compact macro 2018-02-17 14:13:26 +01:00
Andreas Rumpf
6bd32a0e88 added toChecked and toDisabled helpers 2017-10-05 12:32:14 +02:00
Andreas Rumpf
8e8ada7cd2 move karax source code from 'src' to 'karax'; make karaxdsl work with native Nim; added jjson and jwebsockets modules 2017-10-02 22:54:25 +02:00
Andreas Rumpf
91d7ba25ea renamed key to 'index'; all virtual components have a 'key' attribute 2017-07-11 12:54:53 +02:00
Andreas Rumpf
8eef2074b4 make setFocus: bool work 2017-06-28 22:54:24 +02:00
Andreas Rumpf
c86916e37d stateful components now in a workable state; renamed .component macro to .compact which much better captures its meaning 2017-06-20 00:14:54 +02:00
Andreas Rumpf
6aa87e4b81 todoapp: use local storage properly 2017-04-22 10:45:42 +02:00
Roman Vishnevskii
479db8c2cc Codestyle fixes 2017-04-22 13:33:20 +07:00
Roman Vishnevskii
459d696128 Codestyle fixes 2017-04-22 13:29:24 +07:00
Roman Vishnevskii
3238422412 Add local storage for todoapp 2017-04-22 13:01:05 +07:00
Andreas Rumpf
686ad23f2f reworked event handling again; added scrollapp example 2017-04-15 15:50:07 +02:00
Andreas Rumpf
5bc7d4e336 removed the need to call karax.init explicitly 2017-04-15 11:50:05 +02:00
Andreas Rumpf
b9aa077513 cleanup karax project for public consumption 2017-04-13 09:40:14 +02:00
Renamed from todoapp.nim (Browse further)