Comments (9)
Also looking for this...
from pnotify.
+1
from pnotify.
Definitely +1!
It's a NOTIFICATION, not a window with workable area, where one can click inside and do some meaningful actions (in comparison with pnotify form).
Created a pull #73. Cheers!
from pnotify.
I don't think this is the best solution. Rather than making another option, you could do something like this:
var notice = $.pnotify({
text: "Click me to close.",
closer: false,
sticker: false
}).click(function(){ notice.pnotify_remove(); });
from pnotify.
I've added this as one of the demos, so anyone else seeking this feature will see how it can be done.
from pnotify.
Keep in mind that this prevents the user from copying the text inside the notice. If you're using the notices to display error messages, it may be nice to allow your users to pin the notices and to copy their text.
from pnotify.
Thanks
from pnotify.
Please note that since version 2.1, pnotify_remove() of a PNotify instance is renamed to remove()
from pnotify.
i like @hperrin solution, it makes sense as it seems like a peculiar solution
from pnotify.
Related Issues (20)
- Laravel installation not possible HOT 1
- The alert background color is not revert after the error function call HOT 1
- Integration with Nuxt.js HOT 1
- Does pnotify support HTML tag? HOT 2
- A modalish stack that pushes to the top must use the close maxStrategy - migrated from v4 HOT 1
- ES5 - ES6 Installation Errors HOT 5
- Countdown + Bootstrap4 not working
- Potential issue with Desktop permission. Notice may become module controlled after opening. Needs investigation.
- ECS6 Error (Uncaught SyntaxError: The requested module './node_modules/@pnotify/core/dist/PNotify.js' does not provide an export named 'alert') HOT 1
- Pnotify with html tag
- Cannot change default FontAwesome5 icons
- npm run build errors HOT 2
- Why Svelte.... HOT 1
- Temporal fix for compile-time errors on angular apps for "pnotify": "^5.2.0" HOT 2
- Desktop module Make onclick functional
- Bootstrap5 support? HOT 8
- Keep only one dialog
- Doesnt work
- Node install fails on PNotify HOT 1
- End Of Life? 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 pnotify.