shlomiassaf / ngx-modialog

Modal / Dialog for Angular
http://shlomiassaf.github.io/ngx-modialog
MIT License
686 stars 241 forks source link

with angular5.0, confirm dialog,choose no,fail! #417

Open lonyel opened 6 years ago

lonyel commented 6 years ago

IMPORTANT: Please provide a sample using: http://plnkr.co/edit/lV7zsw7Yqossgs9JOfQU?p=preview

jrmcdona commented 6 years ago

Is this still an issue @lonyel ? Any issues with Angular 5?

wskoderbr commented 6 years ago

const dialogRef = this.dialogService.confirm() .size('lg') .isBlocking(true) .showClose(false) .keyboard(0) .title('Confirm?') .body('Confirn action?") .open(); dialogRef.result .then(result => { this.actionConfirmed = result? "CONFIRMED": "CANCELED"; }, reject => { console.log('CANCELED'); });