|
|
|
|
|
by bemmu
5031 days ago
|
|
Am I missing something on why you can't just include your "templates" as display:none snippets of HTML and then .clone() them from the DOM and change the fields as needed? Perhaps my needs just haven't been complex enough to need a JS templating engine. |
|
[1] http://www.w3.org/TR/2012/WD-shadow-dom-20120522/