nomanHasan
9/15/2017 - 9:38 PM

app.component.ts


  submitTodo(event, todo:ToDo){
    if(event.keyCode ==13){
      this.editTodo(todo)
    }
  }