Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is router in backbone? How do you create a router with backbone?



What is router in backbone? How do you create a router with backbone?..

Answer / Dheeran Singh

A Router in Backbone.js is responsible for handling URLs and navigating between different views or routes within an application. To create a router, you can use the Backbone.Router constructor and define routes as properties on the router object. The default method to handle a route is `route(route, name, callback)`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Backbone.js Interview Questions

How to access a models data from a view in backbone.js?

1 Answers  


Explain what is backbone.js?

1 Answers  


Explain what is backbone.js models?

1 Answers  


Explain when you can use unbinding function in backbone.js ?

1 Answers  


Mention the case where you can use the unbinding function in backbone.js?

1 Answers  


Explain what is model.cid?

1 Answers  


How can you use underscore templates in backbone.js views?

1 Answers  


What is unbinding function in backbone.js?

1 Answers  


When you can use unbinding function in backbone.js?

1 Answers  


Why you have to use Backbone? Advantages?

1 Answers  


How do you define view in backbone.js?

1 Answers  


List out configuration options available in backbone js?

1 Answers  


Categories