Backbone.JS View El()

The Backbone.JS View El() method is used to define which element to be used as the view reference.

Syntax:

View.el 

Example:

  

  
Example  
  
  
  
  
 
  

Output:

HELLO WORLD!!

Explanation:
In the above example the El() method defines which element to be used as the view reference.