Comments (3)
Thank you very much for the quick response, now it is working, i exported the SnotifyModule from my main module, so it will be available even route changes.
exports: [ SnotifyModule ]
from ng-snotify.
well, looks like you put <ng-snotify />
inside the initial component. And when you change the route. It disappears because you destroy component and initialize another one when the route changes. That's why you don't see anything.
I'll test now with routing. And I will write my feedback later.
from ng-snotify.
Yeah. It worked)
Seems like I was right about your problem.
Make sure you inject <ng-snotify />
outside your <router-outlet />
. This should help.
Or if you change the whole module on route changes. You should initialize all your plugins again. Because new module doesn't know about all your stuff until you add them. This just how it works
from ng-snotify.
Related Issues (20)
- Support for Angular 11
- Support for Angular 11
- Upgrade to support angular v10+ HOT 1
- Any chance to update for Angular 12+ please?
- Get confirm/ prompt data through variable ?
- Dynamic title/body ?
- How to delete a record on confirm box "yes"
- cannot install: latest angular
- Moved to ngx-snotifire HOT 1
- How to remove SnotifyToast by button/icon in html template
- Can someone take over maintaining this package please?
- Remove SnotifyToast when clicking outside or pressing escape
- After Updating Ng Snootify in Angular 9 Bugs HOT 21
- Issue with Angular 9 Ivy after upgrading to ng-snotify 9.0.0 HOT 2
- Cannot Import Css in Stackblitz in Angular 9 HOT 2
- Cannot read property "toast" of undefined HOT 2
- I use styles.less, cannot use *.scss [ver 9.0.1]
- confirm backdrop is hidden when another notification is closed.
- Can I hide the toaster when rout change? HOT 1
- Undefined config HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-snotify.