jeudi 23 avril 2015

How to get all the properties from ember.js controller?

I want to get all the values from the controller that set using set() method.

For example : If

this.controllerFor('application').set("one", "1");
this.controllerFor('application').set("two", "2");
this.controllerFor('application').set("three", "3");
this.controllerFor('application').set("four", "4");

So How I can get all the values directly. I mean dont one by one using get() method.




Aucun commentaire:

Enregistrer un commentaire