-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
Alert doesnt show #9
Comments
Can you recreate the issue in a plunkr please? |
Hi, i'll try.. So, in my app.module.ts i imported: JasperoAlertsModule when i use: this.alertService.create('error','olaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',{duration:9000,overlay:true}) i tried debug alerts.component and apparently, it isn't loaded.. i put a alert("aaa"); in ngOnInit and it was not called.. i missed any step? |
Yes, It's ng-alerts not ng2-alerts. |
I also tried this package |
Did you import it like this in your AppModule
|
Sorry the late to answer. Yes, i tried both, ng-alerts and ng2-alerts, following both documentation. It's like the alerts.component doesn't is loaded |
Ok. Adding the .forRoot() cleared my issues. thanks. But hey u need to seriously consider updating documentation. Thanks |
I follow the instruction to install and import to my APP..
but, nothing happens when i create a alert..
No errors, but, the alert it's not showed
The text was updated successfully, but these errors were encountered: