fabien-d / alertify.js

JavaScript Alert/Notification System
http://fabien-d.github.com/alertify.js/
4.26k stars 726 forks source link

Can you add timeout function for confirmation and alert too? #249

Open JosephZZ opened 9 years ago

JosephZZ commented 9 years ago

Currently only logs can disappear within a certain amount of time, while confirmation, dialog and alert notifications can't disappear by themselves. This actually gives me a lot of trouble since if I manually set $("#alertify").hide(), it will be always hidden. I really hope you can add this feature, that would be a great help!

Thank you very much!

fabien-d commented 9 years ago

This project is no longer being maintained.

This is not a feature I would add to the core plugin. The dialogs purposely do not have a self closing method because the goal of a dialog is to get a response from the user. The project aimed to keep the alertify.js dialogs reflecting the native dialogs.