Commit graph

30 commits

Author SHA1 Message Date
Araq
9a627985d0 added a getInputText API, cleaner and more robust than the .text attribute which is often updated too late in event handlers after a redraw 2020-12-08 18:02:59 +01:00
Timothee Cour
04779f8502
add toCss: allows tdiv(style = "font-style: oblique; color: pink".toCss) (#158)
* add toCss: allows tdiv(style = "font-style: oblique; color: pink".toCss)

* fixup to work with nim c
2020-10-07 12:23:16 +02:00
OctoCat
f0dd16ebfe
Fixed the error with password (#155)
* Fixed the error with password

* Changed to old style
2020-09-28 08:46:23 +02:00
tarunama
22e2e226cb
Refactor examples html, nim files. (#147)
* refactor: remove no need first new line

* arrange: add indent in HTML files

Co-authored-by: Takuya Yamamoto <takuya.yamamoto@tabian.co>
2020-07-02 10:36:20 +02:00
Miran
80f500874b
fix deprecated stuff (#144) 2020-04-27 10:59:54 +02:00
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
Dmitry Matveyev
65e305e6e9 Fix script src path for html files to be up to date with readme (#114) 2019-09-09 11:15:19 +02:00
Andreas Rumpf
50bed1f6e9 used sugar.nim instead of future.nim in the login.nim example 2019-03-14 11:09:06 +01:00
Araq
a90efe752d merged #53 manually; todoapp must ignore empty input lines 2018-12-12 12:34:35 +01:00
Araq
068c30c97d make examples compile again with a config.nims file 2018-12-12 12:31:23 +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
Araq
bf28a44439 fixes issues in the new examples 2017-11-20 14:04:34 +01:00
Araq
fb604321f3 added many more examples 2017-11-20 12:26:30 +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
a535ad709b carousel is now a real example 2017-06-21 17:57:02 +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
c895d18ccb renamed dom module to 'kdom' to avoid conflicts with Nim's stdlib dom module; it will further diverge from it anyway 2017-05-29 10:59:59 +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
c74b90876d make playerapp compile again 2017-04-18 10:46:15 +02: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
a9b12a231f fixed components; added playerapp example 2017-04-14 20:49:42 +02:00
Andreas Rumpf
483213c389 added missing file 2017-04-13 09:41:07 +02:00
Andreas Rumpf
b9aa077513 cleanup karax project for public consumption 2017-04-13 09:40:14 +02:00