Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Check If Backbone Model Has Property

  app.AppView = Backbone.View.extend({
/*other code*/
this.model.has("fname"))
    
    /*other code*/
    //--------------
    // Initializers
    //--------------   
    var  Person = Backbone.Model.extend(/*other code*/ );
         var person = new Person();
app.appView = new app.AppView({model: person}); 
 
PREVIOUS NEXT
Tagged: #Check #If #Backbone #Model #Has #Property
ADD COMMENT
Topic
Name
3+3 =