Sunday, 29 September 2013

calling method from action of controller in emberjs

calling method from action of controller in emberjs

for example i have a controller like this :
App.theController = Ember.ArrayController.extend({
methodA:fucntion(){},
actions:{
methodB:function(){},
methodC:function(){}
}
});
my questions is :
How can methodB calling methodC
How can methodA calling mehtodB

No comments:

Post a Comment