Topic: change the position of toast service
She Jong Shon
pro asked 6 years ago
this.toastrService.success('Logged in');
Arkadiusz Idzikowski
staff answered 6 years ago
showSuccess() { constoptions= { positionClass:'toast-custom' }; this.toastrService.success('Hello world!', 'Toastr success!', options); }
.toast-custom { top: 80px; right: 0px; }
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: web
- Browser: chrome
- OS: windows 10
- Provided sample code: Yes
- Provided link: No