We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi i'm trying to run this code on Angular6 after updating from angular2-modal to ngx-modialog
this.modal.confirm() .showClose(true) .title(this.translator.instant('common.message.confirm.delete')) .keyboard(27) .okBtn(this.translator.instant('common.text.yes')) .cancelBtn(this.translator.instant('common.text.no')) .message("<h5>" + this.translator.instant('common.message.confirm.deleteAll') + "</h5>") .open() .then(( d:any ) => d.result
but after compiling i get this error :
Property 'then' does not exist on type 'DialogRef<TwoButtonPreset>'.ts(2339)
The text was updated successfully, but these errors were encountered:
this.modal.confirm() .showClose(true) .title(this.translator.instant('common.message.confirm.delete')) .keyboard(27) .okBtn(this.translator.instant('common.text.yes')) .cancelBtn(this.translator.instant('common.text.no')) .message("<h5>" + this.translator.instant('common.message.confirm.deleteAll') + "</h5>") .open() .result .then(( d:any ) => d.result
Sorry, something went wrong.
No branches or pull requests
Hi i'm trying to run this code on Angular6 after updating from angular2-modal to ngx-modialog
but after compiling i get this error :
The text was updated successfully, but these errors were encountered: