irisa-confirm
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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 ); }

Readme

Keywords

none

Package Sidebar

Install

npm i irisa-confirm

Weekly Downloads

11

Version

0.0.5

License

none

Unpacked Size

71.1 kB

Total Files

16

Last publish

Collaborators

  • alipournemat