list.component, which has an input variable tasks and listtype, which can be upcoming or completed. The @Output(s) are used if the task is checked
list.component
@Output