Skip to content Skip to sidebar Skip to footer

Event Handling In Nested Compositeview

I am using the same structure as explained in the answers for this question -- > How to handle nested CompositeView using Backbone.Marionette? to render my composite views and

Solution 1:

View events should return events hash like this

events: {
    'click': 'onClick'
},
onClick: function(){
    alert('click');
}

Post a Comment for "Event Handling In Nested Compositeview"