Created
March 24, 2015 20:23
-
-
Save enriquesaid/81825fe2f8db21933e76 to your computer and use it in GitHub Desktop.
Events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var View = Backbone.View.extend({ | |
events: { | |
"click .item": "clicked" | |
}, | |
clicked: function() { | |
console.log("Item clicado"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment