You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TodoView is defined by extending Backbone.View and is instantiated with an associated Model. In our example, the render() method uses a template to construct the HTML for the Todo item which is placed inside an li element. Each call to render() will replace the content of the li element using the current Model data.
I ran example from book and I didn't see any <li> tag inside page sourse.
Could you please explain why we need tagName: 'li' if there's no any <li> tag.
The text was updated successfully, but these errors were encountered:
Fundamentals -> Client-Side MVC - Backbone Style
I ran example from book and I didn't see any
<li>
tag inside page sourse.Could you please explain why we need
tagName: 'li'
if there's no any<li>
tag.The text was updated successfully, but these errors were encountered: