Topic: Toast positionClass: 'md-toast-top-center' not working
allancmello pro asked 6 years ago
The positionClass "md-toast-top-center" not work
The toast isnt show for this option
onSubmit() { const options = { positionClass: 'md-toast-top-center'}; this.news = this.newsForm.value; this.authService.cadNews(this.news).subscribe( response => this.toastr.success('Cadastro realizado com sucesso.', 'ATENÇÃO'), err => this.toastr.error(err.error, 'ATENÇÃO', options) ); }
Whats wrong?
Arkadiusz Idzikowski staff answered 6 years ago
I can't reproduce this problem on my end. The toast is rendered correctly. Could you provide more code or a demo (you can send it to a.idzikowski@mdbootstrap.com) on which I will be able to debug this problem?
Do you use version 7.4.3?
allancmello pro commented 6 years ago
Yes, my version is 7.4.3
I'll be sending the demo to your email.
Thanks
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.4.3
- Device: All
- Browser: All
- OS: Windows
- Provided sample code: No
- Provided link: No