There are a couple ways to invoke Moopromptu: The basic way:
var myPrompt = new Impromptu(); myPrompt.show('hello world!');
The shortcut way:
$prompt.show(msg, options);
Where msg may be a string or an object of states (see documentation).
Moopromptu is also tied to Element, so the msg will be pulled from the html property of the object.
myEl.prompt('My nice message');
Functionality of Moopromptu is identical to jQuery Impromptu. All options are implemented. See the documentation for all options:
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus