1.

Which of the following is the correct syntax for creating Backbone View?

Answer»

Which of the following is the CORRECT SYNTAX for creating Backbone View?
CHOOSE the correct option from below list
(1)VAR appView=Backbone.View.extend({el:"div_1"});
(2)var appView=Backbone.View.extend({el:"#div_1"});
(3)var appView=Backbone.View.extend({$el:"div_1"});
(4)var appView=Backbone.View.extend({$el:"#div_1"});

Answer:-(2)var appView=Backbone.View.extend({el:"#div_1"});
creating Backbone



Discussion

No Comment Found