npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@w8tcha/bootstrap-notify

v4.0.0

Published

This is a simple plugin that turns standard Bootstrap toats into "Growl-like" notifications.

Downloads

3

Readme

Bootstrap Notify

This is a simple plugin that turns standard Bootstrap toats into "Growl-like" notifications.

based on the version @mouse0270 (https://github.com/mouse0270/bootstrap-notify)

Changelog

Version 4.0.0

  • complete rewrite in javascript
  • removed jquery dependency
  • changed from bootstrap alerts to bootstrap toasts

Version 3.1.5 provided by chrismbarr - Testing

  • Cleaned Up Code
  • Fixed Spelling
  • Added Option to prevent Duplicate Notifications
  • TypeScript Definitions File
Version 3.1.3 - Stable Release
  • Added Meteor Support
  • Fixed issue with Glyphicons Pro
  • Updating version pattern.
x.y.z
x = Main version of the plugin
y = New features were added to the plugin
z = Fixes/patches to existing features of the plugin
Version 3.0.2
  • Fixed update for backwards compatibility
Version 3.0.1
  • Add the ability to update multiple values in one call
  • Turn off Progress bar
  • Set Progress bar value / Progress bar not shown by default
//Update
var notify = $.notify('<strong>Saving</strong> Do not close this page...', { allow_dismiss: false });
notify.update({ type: 'success', '<strong>Success</strong> Your page has been saved!' });

// Turn of Progress bar on
$.notify('I have a progress bar', { showProgressbar: true });

// Update Progress bar
var notify = $.notify('<strong>Saving</strong> Do not close this page...', { allow_dismiss: false });
notify.update({ type: 'warning', '<strong>Oops</strong> Something happened. Correcting Now', progress: 20 });
Version 3.0.0
  • New template structure
  • Better event handling for onShow, onShown, onClose, onClosed
  • updating notification content will reposition growls below it
  • Fixed updating icon images
  • Fixed IE Issues with Growl URL not being able to be clicked on
  • Added the ability to show progress bars
  • Added the ability to pass position in the settings
  • Added newest_on_top option that allows new growls to push down old growls
  • Added Transition CSS to plugin
transition: all 0.5 ease-in-out;
  • Remember to read to documentation. I use custom css style's for the progress bar that you can find there. This was left out of the plugin so you could choose to use the default progressbar styles provided for bootstrap or write your own.
Version 2.0.1
  • Added the ability to set an X and Y value within the offset option
  • Added callback options onShow, onShown, onHide and onHidden
  • Added a close all method to close all open growls
Version 2.0.0a3
  • Fixed issue with growl not closing if there was no CSS animations
Version 2.0.0a2 (with IE8 Support)
  • Changed animate.in to animate.enter for IE8 compatibility
  • Changed animate.out to animate.exit for IE8 compatibility
  • Modified .is(':hover') for IE8 compatibility
Version 2.0.0a1
  • Better Minification
Version 2.0.0a
  • Major rewright of the plugin file.
  • Added the ability to pass the growl a link making it clickable.
  • Added the ability to control the growl animations in and out using css.
  • Added the ability to set growl settings globally.
  • Removed jQuery fadeIn (use css to control growl animations)
Version 1.0.6
  • Added onGrowlShow and onGrowlShown callback functionality.
Version 1.0.5
  • Better positioning when using CSS animations after growl closes.
Version 1.0.4
  • Updated $.growl() to return a wrapper object with a small API to let you control individual notifications after they have been created.
  • Added onGrowlClose and onGrowlClosed callback functionality.
Version 1.0.3
  • Made jQuery $.extend() Recursive so when you change just one option under position or template the script wont fail
Version 1.0.2
  • Fixed an issue where $.growl("message") would thrown an exception | Provided by DannyJo
Version 1.0.0
  • Initial Release

Dependencies