AngularjsSnackbar

Pure AngularJS based Material Design Snackbars
Homepage:
1 person uses it
Author: 8669100?v=3 rockwotj

Angular Snackbar

Pure AngularJS based Snackbar Component. (css based on https://github.com/FezVrasta/snackbarjs)

Forked from eu81273/angular.snackbar.js

Example

jsFiddle - http://jsfiddle.net/rockwotj/1h0rctcy/

Installation

Copy the script and css into your project and add a script and link tag to your page.

Add a dependency to your application module.

And add snackbar container tag to your application.

This is all.

Create snackbar

Creating a snackbar is also very simple. Inject snackbar service to your app then call the service method like below.

Browser Compatibility

Report me please. I just tested on Chrome.

Changelogs

version 1.1.0

  • Added the ability to manually toggle the snackbar

version 1.0.1

  • Reduce extra digest loops when hide (Thanks to codef0rmer)

version 1.0.0

License

The MIT License.

Copyright ⓒ 2015 Tyler Rockwood.

See LICENSE

comments powered by Disqus
This page was last updated about 2 years ago.