TotalTemplates

This component can render Total.js Templates.

Live preview

Open in new tab ↗

This component can render Total.js Templates.

Render:

  • SETTER('totaltemplates/render', 'template', { model: 'custom' }, callback(response)) renders a template
  • SETTER('totaltemplates/render', 'HTML_or_URL', model, [callback])

Preview:

  • SETTER('totaltemplates/preview', 'template', { model: 'custom' }) opens a template in a new tab
  • SETTER('totaltemplates/preview', 'HTML_or_URL', model, [print {Number_delay/Boolean}])

Good to know:

  • the ~CDN~ keyword will only be replaced by the value of DEF.CDN for external HTML templates.

More UI components

Browse all 348