Open HereWeR opened 7 years ago
Hi,
You have several options.
const disposable = this.dialogService.addDialog( ConfirmComponent, {}, { autoCloseTimeout: 5000 } // <--- here );
const disposable = this.dialogService.addDialog(...); ... setTimeout(() => { disposable.unsubscribe(); // <--- here }, 10000);
Please, do check Live Demo at: https://plnkr.co/edit/MB6NnzfhicMyAiMJy6YM?p=preview
Hi,
You have several options.
Please, do check Live Demo at: https://plnkr.co/edit/MB6NnzfhicMyAiMJy6YM?p=preview