lundi 25 avril 2016

How to pass parameters/attributes to a component in EmberJs when using "as" operator

I have a structure to invoke my component in this way, in a .hbs file


  

    this is the content for the first section <br>  

  

    Some content for section two <br>
    More content for second section <br>

  


I want to be able to pass some parameters along, like this



It is resulting in a parse error while build.

How can i still pass parameters to be accessed by the component in this scenario?

Thanks in advance!!




Aucun commentaire:

Enregistrer un commentaire