vendredi 13 février 2015

How to fire component's actions from template inserted in block-form component?

I wanna fire component's actions from template inserted in block-form component like this:



{{#block-component}}
<p> HTML inserted in block form </p>
<p> How trigger a action from block-component (not your parent) from this scope? </p>
<p {{action 'actionFromBlockComponent'}}> Fire component's action!!! </p>
{{/block-component}}


The block params enabled in Ember 1.10.0 can help me with this? Or this demand is impossible?





Aucun commentaire:

Enregistrer un commentaire