Loading a template

Sunday, 27 October 2013

Loading a template

Loading a template

Backbone.js is dependent on Underscore.js, which includes its own micro-templating solution. Refer to Underscore.js documentation for more information.
Let us implement a “render()” function and call it when the view is initialized. The “render()” function will load our template into the view’s “el” property using jQuery.



Regards

No comments:

Post a Comment

 

Total Pageviews

Blogroll

Most Reading