Backbone.js DelegateEvents()

The Backbone.JS View DelegateEvents() method binds elements to the specified DOM elements with callback methods to handle events.

Syntax:

DelegateEvents (events)   

Parameters:
events: This parameter is used to specify the required events.

Example:

  

  
Example  
  
  
  
  
  

Output:



Example