Search code examples
meteorhandlebars.jsspacebars

Are nested helpers (subexpressions) supported in Meteor?


I would use this: http://handlebarsjs.com/expressions.html#subexpressions

{{outer-helper (inner-helper 'abc') 'def'}}

But meteor give me an error...there is some solution or workaround for use nested helpers?

thanks!


Solution

  • This is now possible with version 1.2

    <p>
        Together we have
        {{pluralize (add myWidgetCount yourWidgetCount), "widget"}}
    </p>
    

    https://quip.com/RXFlAk9Rc2xI#dbfACAYxaJX