Hmm, wondering what it would take to modify so that any number of configurable options were available? For example, sometimes you need options like "Yes", "No", "Maybe Later" - each of which does something different.
We'll see if the author can come along and answer that - doesn't look like it would be tough on the surface.
There's possible scope here for a mini wizard type interface where a bunch of questions are asked with through (next) clicks and a final output. Would make having to build them from scratch in framework X much easier. Something with proper flow control
Hmm, yeah, I've built a few of those in my time, would be great if you could just drop something like this is to cover mini-survey or user preferences and things like that.
Nice and simple API, but I wish the configuration object was a bit more comprehensive. For example, could there be a key for setting the background and text color? Also the current text attribute does not except HTML markup, never mind Angular template directives :)
I'm also finding this helpful: var say = swal || alert; say("Here's a message!");