Thursday, March 01, 2012

javascript - Backbone View: Inherit and extend events from parent - Stack Overflow

javascript - Backbone View: Inherit and extend events from parent - Stack Overflow: "One way is:

var ChildView = ParentView.extend({
   events: function(){
      return _.extend({},ParentView.prototype.events,{
          'click' : 'onclickChild'
      });
   }
});"

'via Blog this'