« first day (2252 days earlier)      last day (1865 days later) » 

 
2 hours later…
6:16 AM
Hello, How can I use a toastr from inside a static method in angular app.
Here is my Code
```
import { ToastrService } from 'ngx-toastr';
export default class Helpers {
static toastr: ToastrService;
static handleHTTPErrors(error) {
this.toastr.info('Hello world');
}
}
```
But this is throwing error saying
Cannot read property 'info' of undefined
Can any one please help me. Thanks you
 
1 message moved from JavaScript
 
 
3 hours later…
9:28 AM
@ZarNiMyoSettWin your access has been revoked because you did not respond
 
1 message moved from Android
 
 
3 hours later…
 
3 hours later…
 
1 hour later…
8:27 PM
@Queen that's not a correct target at all
 
 
3 hours later…

« first day (2252 days earlier)      last day (1865 days later) »