Class: TodoItemsView

TodoItemsView(todoController, rootElement)

new TodoItemsView(todoController, rootElement)

View returns all To-Do's
Parameters:
Name Type Description
todoController Controller for this view
rootElement HTMLElement the root element where the view should be placed
Source:
See:
  • {To-Do} for more information

Methods

(inner) render(todo)

Render function for the view
Parameters:
Name Type Description
todo To-Do renders a To-Do
Source: