Impromptu 3.1 is Here
I finallized the changes from earlier in the week, and jQuery Impromptu 3.1 is now available! As I mentioned then there are three notable changes to Impromptu:
- Add callbacks to nextState, prevState, and goToState functions.
- Fix bug when cloning html for use like $(‘#selector’).prompt();
- Ability to pass an object as button title and values.
Also I've corrected a bug with Example 9 in the documentation. Don't forget you always need to check to see if your button was clicked. A callback function is always called even if you click X to close, because it's possible you may want to do some logic on that click too. Anyway, that's all! Get Impromptu!