Skip to content

Instantly share code, notes, and snippets.

@gavilanch
Created June 9, 2019 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavilanch/7db626236561676b5540be9924c91e00 to your computer and use it in GitHub Desktop.
Save gavilanch/7db626236561676b5540be9924c91e00 to your computer and use it in GitHub Desktop.
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