2498 Commits

Author SHA1 Message Date
Denis Kolodin
c01aee9dfb Set value in VTag 2017-12-23 13:35:19 +03:00
Denis Kolodin
a27a2a3e9f Render and soak up attributes and input kind (type) 2017-12-23 12:56:13 +03:00
Denis Kolodin
92ea1dfd1a Add or remove classes to VTag on render 2017-12-23 12:12:30 +03:00
Denis Kolodin
cf9982c447 Add VNode abstraction 2017-12-23 11:49:54 +03:00
Denis Kolodin
3710973f93 Add debug and warn macros 2017-12-22 23:26:33 +03:00
Denis Kolodin
77d9842032 Add recursive diff updates
But listerers duplicaates and should be fixed.
2017-12-21 10:46:27 +03:00
Denis Kolodin
4375eb168f Add draft implementation of live updates 2017-12-20 00:38:46 +03:00
Denis Kolodin
d79d96fa1b Add empty diff function 2017-12-19 21:58:25 +03:00
Denis Kolodin
ab3a9a8b5e Make braces for events optional 2017-12-19 18:48:52 +03:00
Denis Kolodin
e0340d32a9 Add value attribute 2017-12-19 18:38:28 +03:00
Denis Kolodin
a91a23196b Fix second event throwing away
It has happened because loop call called immediatelly before
2017-12-19 17:39:32 +03:00
Denis Kolodin
b003f7d266 Prepare for virtual dom operation 2017-12-19 09:03:05 +03:00
Denis Kolodin
1702c43e24 Add keypress event 2017-12-19 00:24:55 +03:00
Denis Kolodin
5e6780b030 Add explicit input parameter 2017-12-19 00:12:30 +03:00
Denis Kolodin
550997308b Use From trait to produce handler's wrapper 2017-12-18 23:17:26 +03:00
Denis Kolodin
0defbb5b03 Add standard comments example 2017-12-18 23:00:47 +03:00
Denis Kolodin
c1576ae1e9 Add events in Elm style 2017-12-18 22:31:38 +03:00
Denis Kolodin
f53327aa80 Add InputEvent handling 2017-12-18 20:22:25 +03:00
Denis Kolodin
8218afe7e8 Add remove button to TodoMVC example 2017-12-18 00:14:55 +03:00
Denis Kolodin
dbae037334 Add attributes 2017-12-17 23:28:39 +03:00
Denis Kolodin
27ccfeb5b3 Fix code format 2017-12-17 22:58:18 +03:00
Denis Kolodin
12e637c3de Add handlers for all events 2017-12-17 22:54:52 +03:00
Denis Kolodin
691ba9f408 Add attributes bypass for parsing needs 2017-12-17 22:23:40 +03:00
Denis Kolodin
695dca5b77 Add filters to TodoMVC example 2017-12-17 21:39:40 +03:00
Denis Kolodin
1d9ce847f2 Add sections to TodoMVC template 2017-12-17 20:48:05 +03:00
Denis Kolodin
ca466d3223 Add for expression to html macro 2017-12-17 18:32:05 +03:00
Denis Kolodin
c421982944 Add tag to put any node into a tree 2017-12-17 17:53:31 +03:00
Denis Kolodin
a82d01c9ec Add TodoMVC example draft 2017-12-17 17:29:59 +03:00
Denis Kolodin
983c125079 Show error message if no elements in the tree 2017-12-17 17:10:35 +03:00
Denis Kolodin
f724e7e863 Fix code format 2017-12-17 16:22:02 +03:00
Denis Kolodin
57063dd70d Add self-closing tags support 2017-12-17 16:18:59 +03:00
Denis Kolodin
8716274124 Add actions example to readme 2017-12-17 16:08:05 +03:00
Denis Kolodin
b31e2f03e2 Add actions parsing to html macro 2017-12-17 16:06:57 +03:00
Denis Kolodin
0fd40ea0f9 Use to string conversion to generate text node 2017-12-17 15:02:28 +03:00
Denis Kolodin
7d462bb8dd Add classes and expressions example to readme 2017-12-17 14:28:57 +03:00
Denis Kolodin
bd03a9697f Fix format and remove unused code 2017-12-17 14:27:47 +03:00
Denis Kolodin
f0f65715fc Add rule for text nodes 2017-12-17 14:26:18 +03:00
Denis Kolodin
32ff0fa5d7 Add classes to html macro 2017-12-17 13:22:08 +03:00
Denis Kolodin
49cbf0326d Add space for attributes 2017-12-17 13:04:55 +03:00
Denis Kolodin
45f8da4296 Add template example to readme 2017-12-17 13:00:54 +03:00
Denis Kolodin
f0a2761659 Add jsx-like templates macro 2017-12-17 12:57:44 +03:00
Denis Kolodin
32f757c14b Add classes 2017-12-17 01:15:08 +03:00
Denis Kolodin
ea5336fa28 Add complete example to readme 2017-12-16 19:12:47 +03:00
Denis Kolodin
3c5e0193cb Implement deep rendering 2017-12-16 19:11:56 +03:00
Denis Kolodin
2ac0e234dc Add childs to tag 2017-12-16 18:39:39 +03:00
Denis Kolodin
9c9c3e7871 Add minimal README.md 2017-12-16 18:24:46 +03:00
Denis Kolodin
44fd2c0a8f Convert crate to library 2017-12-16 18:20:29 +03:00
Denis Kolodin
6a0067838a Minimal prototype 2017-12-16 17:19:27 +03:00