Web Component: j-TotalTemplates


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-TotalTemplates

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)

Author