Is it possible to assign a parameter value within handlebars templates without using helpers?

前端 未结 0 411
無奈伤痛
無奈伤痛 2021-02-11 21:53

I am trying to assign values within a template, the idea is to do something like this:

    {{#if author}}
        {{className = \'classA\'}}  <- trying to imp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题