Create custom named events in Backbone.js

In Backbone, Events is a module that can be mixed in to any object, giving the object the ability to bind and trigger custom named events. Events do not have to be declared before they are bound, and may take passed arguments. For example:

Leave a Reply

Your email address will not be published. Required fields are marked *