Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
clickAddTodo() {
const modal = this.modalService.open(TodoFormComponent);
modal.result.then(
  this.handleModalTodoFormClose.bind(this),
     this.handleModalTodoFormClose.bind(this));
}
handleModalTodoFormClose(){
   alert('se ha cerrado el modal');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment