Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.09 KB

Plugin Name

Mootools version of Impromptu for modal like prompts and forms.

Screenshot

How to use

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');

Screenshots

Screenshot 1

Screenshot 2

Arbitrary section

Functionality of Moopromptu is identical to jQuery Impromptu. All options are implemented. See the documentation for all options: