alertBox is a javascript library for developing javascripts's popup boxes.
We suggest all to include this plug-in after loading Dom.
alertBox can be initialised with a single line of Javascript:
alertBox.success('Success Message');
all javascript supported/enabled browser are supported.
Check out the documentation at https://github.com/rkbbd/alertBox/tree/master/AlertBox
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
alertBox.config({
_duration: 500,
_iterations: 1,
_easing: "cubic-bezier(0.99, 0, 0.58, 1)", //"linear", "ease", "ease-in", "ease-out", and "ease-in-out", or a custom "cubic-bezier" value like "cubic-bezier(0.42, 0, 0.58, 1)".
_timeout: 2000,
_position: "rightBottom" //rightBottom, leftBottom topRight topLeft
})
alertBox.success('Success Message');
alertBox.error('Error Message');
alertBox.warning('Warning Message');
alertBox.message('Lorem Ipsum is simply dummy text of the printing and typesetting industry');
alertBox.success('Success Message',1000,'topLeft');
None.
If you want to help and provide a patch for a bugfix or new feature, please take a few minutes and e-mail us ([email protected]). In particular check out the Coding standards and Commit Message Style Guide.
In general, fork the project, create a branch for a specific change and send a pull request for that branch. Don't mix unrelated changes. You can use the commit message as the description for the pull request.
Contact: [email protected]