irisa-delete-confirm
v17.0.0
Published
onAddressInformationDeleteClick(id: number, title: string) { const deleteModal = this.modalService.open(DeleteConfirmComponent, { size: 'sm', centered: true }); deleteModal.componentInstance.id = id; deleteModal.componentInstance.url = "Addres
Downloads
15
Readme
onAddressInformationDeleteClick(id: number, title: string) { const deleteModal = this.modalService.open(DeleteConfirmComponent, { size: 'sm', centered: true }); deleteModal.componentInstance.id = id; deleteModal.componentInstance.url = "AddressInformation/Delete"; deleteModal.componentInstance.title = this.translate.instant('DeleteTitle'); deleteModal.componentInstance.text = this.translate.instant('DeleteText', { title: title }); deleteModal.componentInstance.queryParams = { parentId: this.model.parentId }; deleteModal.result.then( () => null, //close feedback () => null //dismiss feedback ); }