Comments (1)
Hi @vfrz,
"The notifications with the callback function do not disappear until they were clicked."
https://notiflix.github.io/notify
So, it will be going to stay as it is. For your expectation; you can use your own solutions. For instance, an example of usage can be as below. (In addition, it is not related to the line(code) that you have mentioned.)
// example
var yourExpectationNotifySuccess = function (message, callback) {
var yourTimeoutExpectation = 1923;
Notiflix.Notify.success(message, {
timeout: yourTimeoutExpectation,
});
var delay = setTimeout(function() {
callback();
clearTimeout(delay);
}, yourTimeoutExpectation);
};
// usage
yourExpectationNotifySuccess('Sol lucet omnibus', function () {
// your callback codes...
console.log('Notiflix');
});
Thanks,
Furkan.
from notiflix.
Related Issues (20)
- [BUG] - Long message getting cut off on Report. Implement scrolling? HOT 1
- [FEAT] - Notiflix Loading for http requests
- [BUG] - Notify.success() -> Can it stay visible until an async operation completes, similar to Notify.Loading? HOT 1
- [FEAT] - Change message of Loading dynamically HOT 4
- [BUG] - Block not showing on subsequent calls in Angular component HOT 2
- [BUG] - backOverlayClickToClose HOT 1
- [BUG] - HOT 3
- The selector parameter must be a string and matches a specified CSS selector(s) HOT 1
- [FEAT] - Global color settings for Reports HOT 1
- [BUG] - Quicksand default font is not applied on mobile HOT 1
- [BUG] - Can't type on Confirm.prompt() HOT 1
- [FEAT] - Calls to the methods of Notify, should return something useful HOT 1
- [BUG] - confirm stack HOT 1
- [BUG] - Undefined property 'head' HOT 6
- [FEAT] - Specify order or priority HOT 1
- [BUG] - Notify position doesn't work HOT 1
- [BUG] - CommonJS or AMD dependencies can cause optimization bailouts HOT 1
- [FEAT] - is the Notify can remove? HOT 1
- [BUG] - prompt not working in bootstrap modal HOT 1
- Confirm.show() not displayed when called from dialog is modal 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 notiflix.