Calling a method of view in emberjs
I have a one method in my view and i want to call this method from
controller.The controller and view is like this :
App.theController = Ember.ArrayController.extend({
methodA:function(){
//how to call methodB in view
}
});
App.theView = Ember.View.extend({
methodB:function(){
//do something
}
});
the question is how methodA can call methodB ?
No comments:
Post a Comment