JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3592
  • Score
    100M100P100Q118702F
  • License MIT

Notifications inspired by Google Material Design

Package Exports

  • node-snackbar
  • node-snackbar/dist/snackbar

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-snackbar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SnackBar

A notification toast inspired by Google Material Design.

Getting Started

Installing Snackbar is as easy as...

bower install snackbar

or maybe you wish to use NPM...

npm install node-snackbar

and if that doesn't float you, you can always download the CSS and JS files...

<script type="text/javascript" src="dist/snackbar.min.js"></script>
<link rel="stylesheet" type="text/css" href="dist/snackbar.min.css" />

Development

In order to contribute to the development of this library you will need grunt

npm install -g grunt

The files that are going to be edited are in the src folder. After making changes you will need to build the dist files by running

grunt build

The minified files will be on the dist folder. Those files are the ones used on the demo html, so simply reload the page and your changes should be visible

Happy contributing!

Examples

Checkout the Demo page.