Commit Graph

19 Commits

Author SHA1 Message Date
Jonathan Kingston 8c340453eb Add Send to all output types 2019-05-28 16:30:53 +02:00
Jonathan Kingston 1588f30353 Relax attribute escaping. Fixes #26 2019-05-28 16:06:13 +02:00
Bodil Stokke ccb00646ac Don't render empty attributes when stringifying. 2019-04-08 16:44:34 +01:00
Bodil Stokke dbb4ba8738 2018 edition. 2019-03-15 23:37:20 +00:00
Bodil Stokke 818c8ebdac Make it generic on event type, determined by output type.
Unfortunately, this means the macro now requires a type annotation when 
using event handlers.

Closes #6, #17.
2018-12-01 18:33:34 +00:00
Bodil Stokke e80c8e6d88
Merge pull request #16 from jonathanKingston/self-closing-tags
Support allow list of self-closing tags. Fixes #15
2018-11-29 15:50:34 +00:00
Bodil Stokke 670fb934fb IntoIterator implementation for elements and boxed elements.
Closes #12.
2018-11-29 15:28:09 +00:00
Jonathan Kingston 7cb9441820 Support allow list of self-closing tags. Fixes #15 2018-11-24 16:17:03 +00:00
David Tolnay 78f0e9b1e6
Remove proc_macro_quote feature 2018-11-17 23:38:39 -08:00
Bodil Stokke 001a7ba016 Parameterise nodes etc on output type, so we can type event handlers based on it.
With this, Node<String> only accepts event handlers implemented
for String, etc. No danger of trying to stringify functions and vice versa.
2018-11-16 23:33:11 +00:00
Bodil Stokke a9dc58da9c Event handlers! 2018-11-15 23:25:38 +00:00
Bodil Stokke cc8e7219a2 Reorganise, docs, HTML escaping. 2018-11-14 18:25:05 +00:00
Bodil Stokke 7d1e95f262 Completely transitioned to LALRPOP and new declare macro. 2018-11-14 16:22:07 +00:00
Bodil Stokke cb7e148310 A mess of LALRPOP. 2018-11-14 00:30:59 +00:00
Bodil Stokke 73344d0dbf Build a virtual DOM structure. 2018-11-12 16:29:48 +00:00
Bodil Stokke 2806bde178 Such work. 2018-10-28 00:48:34 +01:00
Bodil Stokke 858b16cf34 Drop the bad Rust 2018 Cargo forces on you. Rewrite to work with actual native proc_macros. 2018-10-27 19:49:52 +01:00
Bodil Stokke f7ce896ca3 Autobox everything. 2018-10-27 17:28:57 +01:00
Bodil Stokke dee331c5eb Cleanup, reorg, data attributes. 2018-10-27 17:00:43 +01:00