title: How to trigger / bind custom events in Backbone.js views?
body: <p>I have a Backbone View that uses <a href="http://cubiq.org/iscroll-4" rel="noreferrer">iScroll</a> to implement a slideshow. </p>
  
  <p>iScroll publishes an <code>onScrollEnd</code> event, but I cannot seem to bind/subscribe to it inside the View:</p>
  
  <pre><code>App.Views.Scroller = Backbone.View.extend({
  
      events: {
          'onScrollEnd' : 'scrollEnd'
      },
  
      initialize: function(){
          var self = this;
          this.scroller = new iScroll('content-scroller', {
              onScrollEnd: function() {  
                  self.trigger('onScrollEnd');
              }
          });     
      },
  
      scrollEnd: function(e){
          // never called :(
          console.log(e);
      }
  
  });
  </code></pre>