Angular 2 Toaster by Stabzs
An asynchronous library largely built on AngularJS-Toaster.
Project website https://github.com/stabzs/Angular2-Toaster
Documentation https://github.com/stabzs/Angular2-Toaster
License MIT
Demos
1. http://plnkr.co/edit/hkENUhos6q9fhiOHprXO?p=preview
2. http://plnkr.co/edit/xMYMRv7fLNnaDz2wFFxV?p=preview
Dependencies
none
NPM
https://www.npmjs.com/package/angular2-toaster
npm install angular2-toaster
Features
- types: ‘info’, ‘error’, ‘success’
- CSS customizable
- close button
- title + description change
- possible limits of windows
- animation types: ‘slideDown’, ‘slideUp’, ‘fade’, ‘flyLeft’, ‘flyRight’
- ‘tap to dismiss’
- container position: ‘toast-top-full-width’, ‘toast-bottom-full-width’, ‘toast-center’, ‘toast-top-left’, ‘toast-top-center’, ‘toast-top-right’, ‘toast-bottom-left’, ‘toast-bottom-center’, ‘toast-bottom-right’
- stacking toasts
- changing timeout
- preventing closure on mouseover
- body types
- callbacks: onShow, onHide