irisa-confirm
v17.0.0
Published
onOpenModalClick( ) { const modal = this.modalService.open(ConfirmComponent, { size: 'sm', centered: true }); modal.componentInstance.title = this.translateService.instant('test'); modal.componentInstance.text = this.translateService.instan
Downloads
19
Readme
onOpenModalClick( ) { const modal = this.modalService.open(ConfirmComponent, { size: 'sm', centered: true }); modal.componentInstance.title = this.translateService.instant('test'); modal.componentInstance.text = this.translateService.instant('test'); modal.componentInstance.closeLabel = this.translateService.instant('test'); modal.componentInstance.dismissLabel = this.translateService.instant('test'); modal.componentInstance.icon = 'fal fa-exclamation-triangle'; //default is 'fa fa-info-circle' modal.componentInstance.hideConfirmButton = true;//default is false modal.componentInstance.style = 'warning' | 'danger' | 'primary' | 'success'; //default is 'warning' modal.result.then( () => null, //close feedback () => null //dismiss feedback ); }