Notify.js
A simple, yet fully customizable notification library
See demos and full documentation at:
https://notifyjs.com/
Notify.js is released under the MIT License.
Copyright © Jaime Pillora <[email protected]>
Category: JavaScript / Notifications |
Watchers: 71 |
Star: 1.9k |
Fork: 740 |
Last update: May 20, 2022 |
A simple, yet fully customizable notification library
See demos and full documentation at:
Notify.js is released under the MIT License.
Copyright © Jaime Pillora <[email protected]>
This should get us going on a new release. One question though, do we need to keep your style stuff? This is WAYYY over-engineered. We just need to support Bootstrap, or provide the styles in css for others to include in the CSS compilers. We don't need to bake styles into javascript ever. Do any projects actually do that? Horrible. We should provide one stylesheet for each theme. People not using a css compiler can just include that (resulting in another request). People who want to optimize that out can use a CSS compiler like god intended.
The market for people where two-requests is too much, but that aren't using a css compiler is non-existent. It's just more work on us and complicates our process.
Also feel free to drop me a msg on FB https://www.facebook.com/theevancarroll or gTalk < me at evancarroll.com >.
Tried to install via bower. Had to specify like so in bower.json file
"notifyjs": "https://github.com/jpillora/notifyjs/archive/gh-pages.zip"
Howdy:
Can we publish to npm? notifyjs is already taken as package name over there (which I use too!). perhaps as jquery-notifyjs
? I'd be happy to do the legwork.
Thx,
Chris
My messages are generated on backend and have many translations and different types, meaning it will be inefficient to make all this possible templates and translations on front end. But it looks like NotifyJs escapes HTML content, is there any way to pass HTML without escaping?
using notify.min.js with a framework or CMS that does not reference jQuery with $ will cause it to error (such as Wordpress).
this line: $.notify.addStyle(.... should be: jQuery.notify.addStyle(...
I'm using this plug in on top of an Angular app. In this particular case, I'm using $.notify as a callback after submitting a form. Curiously, the number of notifications that show keep adding up. One message if I submit once, 2 if I submit twice, then 3, 4, 5....
The notifications are removed from the DOM each time so it's really hard to investigate. I wonder if this is a notify.js bug or Angular's upload form fault. Is notify accidentally remembering/storing the number of messages somewhere?
Hello everyone, I came across the following issue: The lightbox library https://fancyapps.com/fancybox/3/ does not work once notify.js is imported after the fancybox-files. If it is imported before notify.js then notify doesn't work any longer. Somehow it has to do with the reload of jQuery in notify.js, even though there already is a jQuery import done before.
I tried it with the newest jQuery, fancybox, and notify versions. Thanks, Andrea
Add encode option as an alternative for simpler HTML messages - without the need for addStyle
The text and title dont show anymore with latest jquery version
Hey everyone!
In our app we have a persistent footer and a sidebar menu trigger and wanted the notifications to land above the footer and to the right of the menu trigger. Has anyone been successful in adding a new custom global position? We want the notifyjs-corner
to have left:3.5rem
and bottom:4.25rem
Tried looking at the code but 0 seems to be more or less hard-coded
Cheers
Hi,
Can you update the readme to include
npm i notifyjs-browser
Can you please tell why is the notification not appearing? Here is the one line code! Link to the fiddle https://jsfiddle.net/waleedrana777/3roLbc8w/4/