MavDialog 0.1.1

MavDialog is a light-weight, easy to use and customizable replacement for system dialog windows. It contains child classes for replacing the default alert, prompt, and confirm dialog boxes as well. There are options for forcing user input (by preventing user access to the rest of the page) and the message of the dialog box can be loaded from a string, adopted from an existing DOM element, generated by a function, or retrieved by an Ajax request.



Details

Author
Dustin Hansen
Current version
0.1.1
GitHub
dcdustin/MavDialog
Downloads
2878
Category
Interface
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.2.4: '*'

How to use

JS

new MavDialog({
    'title': 'Dialog Header',
    'message': 'This is what will show up in the content of the dialog box.'
});

Methods

MavDialog.setMessage(); MavDialog.show(); MavDialog.hide(); MavDialog.close(); MavDialog.screen_center(); MavDialog.toggle_shade();


Discuss

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