Commit graph

313 commits

Author SHA1 Message Date
Araq
4c06cb3204 1.2.1 1.2.1 2020-12-08 18:03:14 +01:00
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
Constantine Molchanov
24a037ad19
Get rid of annoying deprecation warnings (#164)
* Get rid of annoying deprecation warnings

Changed existsFile to fileExists and existsDir to dirExists.

* Install packages during nimble develop
2020-11-25 11:28:12 +01:00
Xie Yanbo
40daae64e3
fix typo (#163) 2020-11-02 08:17:27 +01:00
Xie Yanbo
d3fc084c42
added documentation on rendering to string when using event handlers (#162) 2020-10-30 10:44:38 +01:00
Demian Florentin
bcab551f05
onwheel event added (#161) 2020-10-22 11:38:22 +02: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
Timothee Cour
bd18fc980c
fix #153 (#159) 2020-10-01 22:13:54 +02:00
Araq
5a2ea1eef9 1.1.3 1.1.3 2020-10-01 19:56:30 +02:00
Timothee Cour
d2f88b4648
close #6 (#157) 2020-10-01 19:35:25 +02:00
Timothee Cour
d8fe79fa40
make vstyles.setAttr kstring overload public (#156) 2020-10-01 09:28:42 +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
Bung
0813a7adf9
add transition events (#151) 2020-08-26 18:03:52 +02:00
Bung
7a36b19729
watch ignore precompile style lang (#150) 2020-07-31 17:54:05 +02:00
Bung
98a2d1ce50
add static server,websocket refresh watching mode (#149)
* add static server,websocket refresh watching mode

* watch optional

* we dont quit when building error in watch mode

* staticDir,publicUrl configure through dot env

* remove unused import

* serve optional
2020-07-23 10:40:04 +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
dawkot
f1cd9e606d
Added toSelected (#145)
Co-authored-by: dawkot <dawkot@github.com>
2020-05-02 13:42:53 +02:00
Miran
80f500874b
fix deprecated stuff (#144) 2020-04-27 10:59:54 +02:00
Araq
5f21dcdc56 1.1.2 1.1.2 2020-04-12 23:41:55 +02:00
Araq
02038d40c1 fixes #141 2020-04-12 23:41:24 +02:00
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