![]() |
VOOZH | about |
The Backbone.js noConflict Utility is used when we want the Backbone object as its original value. We can use the return value of the Backbone of this function as a reference to the Backbone.
Syntax:
var backbone = Backbone.noConflict() ;
Parameter: This Function doesn't take any parameter.
Example 1: In this example, we will illustrate Backbone.js noConflict Utility. We will gain the original value of Backbone.js with the help of conflict.
Output:
Example 2: In this example, we will use the return original value of Backbone and use its return value reference and create a new Model with it.
Output:
Reference: https://backbonejs.org/#Utility-Backbone-noConflict