![]() Thus, we also need to listen to the model changes too. ![]() What if one view changes the data? Should other views continue to show the stale data? Probably no. In large scale applications, there might be multiple views rendering the same data. The selector are usual jquery/css selectors. Var book1 = new Book( format to declare our DOM event handlers. Like backbone models and collections, creating a backbone view is also as easy as extending the existing View class of backbone. Let us start the discussion by looking at how we can create backbone views.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |