Code Monkey home page Code Monkey logo

alertbox's Introduction

alertBox

alertBox is a javascript library for developing javascripts's popup boxes.

Installation

We suggest all to include this plug-in after loading Dom.

Usage

alertBox can be initialised with a single line of Javascript:

alertBox.success('Success Message');

Browser support

all javascript supported/enabled browser are supported.

Demo

Check out the documentation at https://github.com/rkbbd/alertBox/tree/master/AlertBox

Documentation

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Configuration Settings:

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
})
success:
alertBox.success('Success Message');
error:
alertBox.error('Error Message');
warning:
alertBox.warning('Warning Message');
message:
alertBox.message('Lorem Ipsum is simply dummy text of the printing and typesetting industry');
inline settings:[message,timeOut,position]
alertBox.success('Success Message',1000,'topLeft');

Dependencies

None.

Community Contribution

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]

alertbox's People

Contributors

rkbbd avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.