Backbone.JS View Attributes()

Backbone.js Attributes
The Backbone.JS View Attributes() method is used as a DOM element attributes on the view class.

Syntax:

View.Attributes 

Example:

  

  
Example  
  
  
  
  
  
  
  


  

Output:

HELLO WORLD!!

Explanation:
In the above example the Attributes() method is used as a DOM element attributes on the view class.