Javascript and Dynamic Content

1 Comentarios

  • 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

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk