Maksim Kachurin
Maksim Kachurin
Yes, the documentation needs to be updated, but I found the context option in the source code (and wrote it in the jsfiddle example), but this does not solve the...
Updated example https://jsfiddle.net/kachurun/k17wzmbu/ The adoptNode does not help. importNode solves the problem, but if I can run the importNode, then I can just create the element in the right context....
> Same problem: Created DOM elements via vuejs in a iframe and they aren't useable for interact.js. This happens in Chrome, in Firefox everything is all fine. > > Fixed...
@jfbrennan @GianlucaGuarini The main idea of destruction in that it is looks and works extremely close to native JS (how it works in Riot IF and SIMPLE bindings): https://jsfiddle.net/2L79enfh/ But...
@jfbrennan it can be undefined, doesn't matter
@GianlucaGuarini don't sure that conversion from camel to dash is good idea, I prefer more just lowercase components names in all situations (and yeah, it will break exist components notation)....
It may also be interesting how I optimized the assembly of templates in the node and browser. I compile the twig templates into JS files and save them to disk...
I dont save file from browser. I make compiled templates with GULP and save files to disk on server side. Then I load this compiled templates with NodeJS and render...
In other words I need make something like that with TWING: ``` ... return twing.loadTemplate(templateName).then((template) => { // What is `template` ? How I can save it in file? fs.writeFile('test.twjs',...
@tsov This is the most important feauture for me. Described API looks very cool. I'm looking forward to the implementation. Thank you!