vendredi 2 octobre 2015

how do you make a handlebars block helper that is aware of ember bindings

This is similar to the question asked in this post:How do you make a Handlebars helper that is aware of Ember bindings?

I want my customized Handlebars block helper to be aware of Ember bindings:

{{#myHelper my.binding}}
    show something here
{{/myHelper}}

But the helper receives my.binding as string instead of the value. How do I pass the value into the helper?

Aucun commentaire:

Enregistrer un commentaire