Skip to content

trentrichardson/Moopromptu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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:

About

Mootools version of the popular jQuery Impromptu

Resources

Stars

Watchers

Forks

Packages

No packages published