Giter Club home page Giter Club logo

bootstrap-notify-simple-wrapper's Introduction

A bootstrap-notify-simple-wrapper documentation

bootstrap-notify-simple-wrapper is a simple wrapper around bootstrap-notify (https://github.com/mouse0270/bootstrap-notify/) to make your life easier
  • Obtain your copy of source code from the git repository: git clone https://github.com/DCOD-OpenSource/bootstrap-notify-simple-wrapper.git. Or download the latest release from https://github.com/DCOD-OpenSource/bootstrap-notify-simple-wrapper/tags/. Or install with Bower bower install bootstrap-notify-simple-wrapper.
  • Add all requirements JS and CSS files to your page.
  • Add bootstrap-notify-simple-wrapper.js file to your page.
  • Configure bootstrap-notify-simple-wrapper on your taste by setting some global variables listed below.
messagesCumulativeDelay
Use cumulative delay to showing a message. Defaults to: true.
messageDelay
A message showing delay (in seconds). Defaults to: 3.
messageDelayFactor
A message showing delay factor (in chars per second). Defaults to: 8.
messageIcon
Message icon css classes. Defaults to: "fa fa-exclamation-circle".
messageDefaultSettings
A message showing default settings. See documentation. Defaults to:
{
    allow_dismiss: true,
    placement: {
        from: "top",
        align: "right",
    },
    delay: 3,
    mouse_over: "pause"
}

Just:

$.showMessage("Something happened wrong :(", "danger");

or

$.showMessages([{message: "Haters gonna hate.", type: "danger"}, {message: "Spice must flow!", type: "info"}]);

bootstrap-notify-simple-wrapper uses the MIT license. Please check the MIT-LICENSE file for more details.

Project website: https://github.com/DCOD-OpenSource/bootstrap-notify-simple-wrapper/

Author: Alexei Andrushievich <[email protected]>

For other authors list see AUTHORS file.

bootstrap-notify-simple-wrapper's People

Contributors

vint21h avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.