Code Monkey home page Code Monkey logo

jquery.toaster's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jquery.toaster's Issues

Please add package.json

yarn/npm package managers require this file. Please add a basic one. Here is example for you:

{
  "name": "jquery-toaster",
  "version": "1.0",
  "description": "Toaster-style notifications plugin for jQuery",
  "main": "jquery.toaster.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/scottoffen/jquery.toaster"
  },
  "keywords": [ "jquery", "plugin", "toaster", "toast", "growl" ],
  "author": "Scott Offen",
  "licenses": [{
    "type": "Apache-2.0",
    "url": "https://raw.githubusercontent.com/scottoffen/jquery.toaster/master/LICENSE"
  }],
  "bugs": {
    "url": "https://github.com/scottoffen/jquery.toaster/issues"
  }
}

String arguments instead of object arguments

Apparently, some people who shall remain unnamed would prefer to use ordered string arguments instead of passing an object. So, in addition to popping up some toast like this:

$.toaster({ message : 'Your message here' });
$.toaster({ message : 'Your message here', title : 'My Title' });
$.toaster({ message : 'Your message here', title : 'My Title', priority : 'danger' });

Some people would prefer to do it like this:

$.toaster('Your message here');
$.toaster('Your message here', 'My Title');
$.toaster('Your message here', 'My Title', 'danger');

Close All Toasts

Hi,

Is there an easy way to remove of the toast messages in view?

Thanks

Euan

Code Examples Error

Embarrassingly, I have a glaring error in my documentation that I just noticed - because I never bothered to reread my documentation after that first day, I guess.

fade : [ in : 'fast', out : 'slow' ]

Should (obviously) be:

fade : { in : 'fast', out : 'slow' }

I did this (or something like it) in multiple places.

Remove colon when title is blank

When the title is blank, the default template still shows the colon after where the title would appear. It would be really cool if it was removed automatically if the title is blank. I realize I could override the default template myself, but this seems like a nice little enhancement to make the defaults more useful.

Support this as a bower package

Hey Scott,

I'm not sure if you're still supporting this project or not. Any chance it can be made a bower package?

Best regards,

Gunther

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.