Javascript and Dynamic Content

1 Comments

  • Tipene Hughes
    Zendesk Developer Advocacy
    Hey Carlos,
     
    You can't use javascript variables to dynamically set the parameters of a handlebars helper, unfortunately. Depending on your use case, one way you could go about this is by conditionally rendering the appropriate dynamic content using #is statements in your .hbs template files.
     
    Feel free to reach out with any questions!
     
    Tipene
    0

Please sign in to leave a comment.

Powered by Zendesk