dimanche 22 avril 2018

Ember Calling method inside the controller

here is my code I have to call another method inside the Ember controller I was tried but this is not working I have confused in this...

please help me to what is wrong in this code?

export default Ember.Controller.extend({
....

getValue(){
var a = a * 2;
return a;
},

getResult(){
var result = this.getValue(); // result is not function 
}

});




Aucun commentaire:

Enregistrer un commentaire