First Demo Flip Book
This is my First Demo Flip Book
This is my First Demo Flip Book
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Displaying a Collection of Models 27<br />
1 <br />
2 <br />
3 <br />
4<br />
5 ContactManager.ContactItemView = Marionette.ItemView.extend({<br />
6 tagName: "li",<br />
7 template: "#contact-list-item"<br />
8 });<br />
And now, when we refresh the page, we’ll have our list properly rendered:<br />
1 <br />
2 Bob Brigham<br />
3 Alice Arten<br />
4 Charlie Campbell<br />
5 <br />
Here’s what our HTML now looks like:<br />
Our corrected code now looks like this:<br />
Displaying a collection in an unordered list<br />
index.html<br />
1 <br />
2 Here is static content in the web page. You'll notice that it gets<br />
3 replaced by our app as soon as we start it.<br />
4 <br />
5<br />
6 <br />
7 <br />
8 <br />
9<br />
10