forked from fabien-d/alertify.js
-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
Milestone
Description
Is there an official way of doing this? I checked the docs, past issues for a related topic, and scanned the source for any exposed functionality, but wasn't able to find anything.
The situation I'm in is that I have an interface that auto saves a user's progress. When the user switches to a different area on the interface, the feature detects if the user's state is "dirty", and launches an alertify dialog, letting them know their change's haven't been saved yet. At the same time, the feature polls the user's state, and when it is clean, is supposed to either close the dialog box, or manipulate it to let the user know everything has been saved.
Thanks
phatpham9, tnrich, busybeaver, arthur-s and jirkapinkas