Backbone.JS Changed()

The Backbone.JS Changed() model is used to change all the attributes that have been set by using set() method.

Syntax:

Model.Changed   

Example:

   
 
  
Example  
  
  
  
  
   
  

Output:

Original Message: HELLO WORLD
Changed Message: WELCOME ALL

Explanation: Here the msg attribute of a model is Changed.

Please follow and like us:
Content Protection by DMCA.com