vendredi 13 février 2015

Change html attribute based on list data in EmberJS

In Ember, we are using {{each}} to loop through a list of items.


We would like to change an attribute based on whether a data item contains the text "COMPLETE" or not.


If the data item = "COMPLETE" then change the div style, otherwise don't.





Aucun commentaire:

Enregistrer un commentaire