Class CommentlistView
Extends
Backbone.View.
CommentlistView
Defined in: listview.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Comment list controller and view
Subscribes to comment collection events and renders a list of comments according
|
Method Attributes | Method Name and Description |
---|---|
Subscribe to collection 'reset' and 'add' events
|
|
render()
Render comments using CommentView instances for each model in the collection.
|
Class Detail
CommentlistView()
Comment list controller and view
Subscribes to comment collection events and renders a list of comments according
Author: Bodnar Istvan.
Author: Bodnar Istvan
Method Detail
initialize()
Subscribe to collection 'reset' and 'add' events
{CommentlistView}
render()
Render comments using CommentView instances for each model in the collection.
- Returns:
- {CommentlistView} Returns the view instance itself, to allow chaining view commands.