mardi 26 juillet 2016

How to update computed property?

I am new to ember. In template, i have

Now, I want By default, labeltext should be, 'Hello' If method A is called, then labeltext = Wow If method B is called, then labeltext = Thanks Is there any way to write the computed property in component which will perform above requirements?




Aucun commentaire:

Enregistrer un commentaire