Commit graph

293 commits

Author SHA1 Message Date
Araq
6b753009ac 1.1.1 1.1.1 2020-04-12 00:25:05 +02:00
Araq
d7da2a5bd5 fixes #139 2020-04-12 00:22:46 +02:00
Araq
c00d7dc340 Merge branch 'master' of github.com:pragmagic/karax 2020-04-01 17:07:00 +02:00
Araq
7f061de317 prepare for Nim version 1.2 2020-04-01 17:06:53 +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
Bùi Thành Nhân
7440393d3a
Self-closing tags (#133) (#134) 2020-03-04 10:02:03 +01:00
Jairo
f6bda9ae89 Reactive value (#129)
Change proposed in https://github.com/pragmagic/karax/issues/61#issuecomment-522233192
2019-11-12 10:18:08 +01:00
Jairo
1911a1cfe0 Update karun.nim (#124)
Add common meta tag for Mobile first development
2019-10-10 17:23:45 +02:00
Timothee Cour
db4acbf7d6 fixes #121 (#122) 2019-09-30 09:01:07 +02:00
Andreas Rumpf
6a0c2871ad added an experimental avoidDomDiffing API; refs #121 2019-09-28 23:25:53 +02:00
Andreas Rumpf
9cf08c4f9c fixes a critical event handling regression 2019-09-27 23:04:17 +02:00
Araq
983cc8882b fixes #101 2019-09-26 21:19:15 +02:00
Araq
8dfb8727cd fixes #113 2019-09-26 21:16:11 +02:00
Araq
9396b3e69d Merge branch 'master' of github.com:pragmagic/karax 2019-09-26 21:01:54 +02:00
Timothee Cour
e6877a5198 fixes #119 (#120) 2019-09-21 23:18:05 +02:00
Timothee Cour
7a7cdd8e76 add onload (#116) 2019-09-21 23:17:41 +02:00
Dmitry Matveyev
023f5d2463 Fix typos and add small clarification to docs/docs.rst (#115) 2019-09-13 11:05:28 +02: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
Araq
05766db4b6 Merge branch 'master' of github.com:pragmagic/karax 2019-09-02 12:33:23 +02:00
Araq
e422087217 avoid exponential DOM diffing 2019-08-28 19:38:20 +02:00
Araq
d08a0356d2 readme.rst: fixed a typo and made the snippet runnable 2019-08-28 19:38:20 +02:00
Araq
9c8a34e567 readme.rst: fixed a typo and made the snippet runnable 2019-08-15 11:07:03 +02:00
Jairo
1bbd9c694e Update karun.nim (#109)
Remove ugly debug echo (sorry)
2019-07-19 18:38:43 +02:00
Zed
b99a5430f0 Add support for rendering styles to string (#102) 2019-07-10 14:46:08 +02:00
Zed
fc062c2d48 Fix tag termination for elements with no children (#103) 2019-07-10 14:44:51 +02:00
Araq
5e9709bc5b fixes #91 2019-06-03 14:59:51 +02:00
Jairo
c091af1622 Update kdom_impl.nim (#94)
* Update kdom_impl.nim

Support full old syntax (maybe support modern syntax too? object options)
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView

* Update kdom_impl.nim

use MDN naming

* Update kdom_impl.nim
2019-05-15 19:06:43 +02:00
Hitesh Jasani
33af725e7d Add docs explaining server side HTML rendering (#97)
* Add docs explaining server side HTML rendering

* Fix indentation
2019-05-15 19:06:17 +02:00
Araq
cd3e7cc1c8 fixed indentation 2019-05-15 18:48:38 +02:00
liuxiaodong
ad3c0a63ee update verbatim for static HTML (#96) 2019-05-15 18:36:22 +02:00
Andreas Rumpf
20fe35355c server side Karax rendering: show how events can be handled 2019-03-14 11:21:49 +01:00
Andreas Rumpf
50bed1f6e9 used sugar.nim instead of future.nim in the login.nim example 2019-03-14 11:09:06 +01:00
liuxiaodong
1ea7208b4d add uploadFile and a path tag (#88)
* add uploadFile and a path tag
* update uploadFile and circle tag
2019-03-10 20:15:13 +01:00
Jairo
4186a4b37b Update Bulma (#89) 2019-03-08 13:32:35 +01:00
Araq
0118aea506 use stdlib's dom module if possible 2019-01-31 21:28:31 +01:00
Araq
2936245d39 add newWebsocket variant that lacks the key 1.1.0 2019-01-31 16:16:37 +01:00
Araq
fc9f9312ef improve deprecation message 2019-01-31 16:15:03 +01:00
Araq
c8c7b13d2f update readme.rst, v1 has arrived 2018-12-12 15:18:36 +01:00
Araq
a2c2aac639 Karax v1 has arrived 1.0.0 2018-12-12 15:04:19 +01:00
Araq
18b5a12d1e added a new way for native DOM <-> virtual DOM interop, see nativenodes.nim example 2018-12-12 15:02:58 +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
Jairo
16008dbe52 Watch option (#79)
* Update karun.nim
* Watch option

Add a -w flag to watch for changes in folder and recompile.
2018-12-12 12:29:41 +01:00
Timothee Cour
b16112613a Update readme.rst (#77) 2018-10-10 00:43:08 +02:00
Timothee Cour
1ccd8b1c16 fix #73: echartstest.nim doesnt work (#75) 2018-09-28 09:24:39 +02:00
Andreas Rumpf
3a2effdf99 fixes readme.rst 2018-09-23 09:55:43 +02:00
Andreas Rumpf
fc0ca22785 update karax.nimble for latest Nimble 2018-09-23 09:52:22 +02:00
Araq
a07f1c7b82 fixes #72 2018-09-22 20:40:00 +02:00
LemonBoy
bd69de9f14 Don't choke on nnkDotExpr nodes (#71)
Fixes #69
2018-09-03 00:25:51 +02:00
Andreas Rumpf
1084849500 Merge branch 'master' of github.com:pragmagic/karax 2018-08-15 16:25:33 +02:00