2 ms·
i solved that by problem in my library https://github.com/dodo/node-dynamictemplate https://github.com/dodo/node-dynamictemplate with the ui designers by maskin
by dodothelast 15y ago
i solved that by problem in my library https://github.com/dodo/node-dynamictemplate https://github.com/dodo/node-dynamictemplate with the ui designers by masking their static html on my functions, which are only a subset of the part in the static html which you want to cover.
this way using a html mockup from a designer is like using an 3D from a 3D model artist, because you only load the data in, selecting what you want and putting a animatinon mesh / functionality into it.
tldr-part: look at my wip code → https://github.com/dodo/node-dynamictemplate/blob/a46fb6ed18847af7309f66f4cf66abd08517736b/src/compile.coffee#L285-L307 https://github.com/dodo/node-dynamictemplate/blob/a46fb6ed18...