Closed 1cg closed 4 years ago
Someone mentioned morphdom in the chat:
https://github.com/patrick-steele-idem/morphdom
Looks like a cool project and would be neat to make kutty swapping pluggable so you could do something like:
kutty.registerSwap("morphdom", {swap:function(target, content){morphdom(target, elt)}}
And then use it like so:
<div kt-get="/example" kt-swap="morphdom">This is replaced w/ Morphdom</div>
Fixed in dev using the new extensions mechanism.
dev
Someone mentioned morphdom in the chat:
https://github.com/patrick-steele-idem/morphdom
Looks like a cool project and would be neat to make kutty swapping pluggable so you could do something like:
And then use it like so: