Comments (4)
I can't reproduce this, could you please provide a test case!
from alertifyjs.
Sorry, it appears your documentation is wrong.
it claims this...
alertify.confirm(title, message, onok, oncancel);
But if you do that then it will behave as I explained above!
from alertifyjs.
I still unable to produce the issue you described! run the following code, it works as described in the docs:
alertify.confirm(
'my title',
'my message',
function(){ alertify.success('confirmed');},
function(){ alertify.error('canceled');}
);
You can fork this codepen or this jsfiddle to provide a test case.
from alertifyjs.
It's fine, I've fixed it on my end by not reading the docs!
If you can't produce it then it must not be a bug
from alertifyjs.
Related Issues (20)
- Multiple alert boxes go away at once HOT 1
- Close all alertify messages
- Sequential Prompts HOT 1
- Auto-Dismiss Alerts HOT 1
- Why is impossible change anything from default options??? HOT 1
- Instance vs global properties HOT 1
- alertify.notify stopped showing in safari macos HOT 3
- onshow only firing on second alertify.confirm() call HOT 2
- License using LGPL HOT 1
- ESC/ENTER/TAB Press always invoke oncancel call HOT 1
- 'alertifyjs'. CommonJS or AMD dependencies HOT 3
- Correction on Guide HOT 1
- Commercial license purchase not working? HOT 4
- Cannot read properties of undefined (reading 'preinit') HOT 3
- Brave blocks Alertify HOT 6
- setContent `textarea` get its value HOT 2
- Notify & modal HOT 2
- adding number input to confirm dialog HOT 1
- After Show Event
- Support wrapped instances of String HOT 1
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 alertifyjs.