TotalTemplates
This component can render Total.js Templates.
This component can render Total.js Templates.
- Download templates: https://github.com/totaljs/templates
Render:
SETTER('totaltemplates/render', 'template', { model: 'custom' }, callback(response))renders a templateSETTER('totaltemplates/render', 'HTML_or_URL', model, [callback])
Preview:
SETTER('totaltemplates/preview', 'template', { model: 'custom' })opens a template in a new tabSETTER('totaltemplates/preview', 'HTML_or_URL', model, [print {Number_delay/Boolean}])
Good to know:
- the
~CDN~keyword will only be replaced by the value ofDEF.CDNfor external HTML templates.




