I have the following events for a Backbone View. Its a product view - with three tabs (\"All\", \"Top 3\", \"Top 5\")
Can I somehow pass a parameter into the method
You could put the extra argument in a data attribute on the clickable item instead; something like this:
And then topProducts
can figure it out itself:
topProducts: function(ev) {
var pancakes = $(ev.currentTarget).data('pancakes');
// And continue on as though we were called as topProducts(pancakes)
// ...
}