# AngularJS-Toaster **Repository Path**: mirrors_maxisam/AngularJS-Toaster ## Basic Information - **Project Name**: AngularJS-Toaster - **Description**: AngularJS Toaster is a customized version of "toastr" non-blocking notification javascript library with Font Icon - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Fork-Version feature: 1. Use fontawesome icon / or others instead of default icon Fork [Demo](http://plnkr.co/edit/rrOokqccsgylpF0zxJNu?p=preview) Change font-icon-classes in config section to whatever fonticon library you like. Currently I used fontawesome. AngularJS-Toaster ================= **AngularJS Toaster** is a AngularJS port of the **toastr** non-blocking notification jQuery library. It requires AngularJS v1.2.6 or higher and angular-animate for the CSS3 transformations. (I would suggest to use /1.2.8/angular-animate.js, there is a weird blinking in newer versions.) ### Current Version 0.4.8 ## Demo - Simple demo is at http://plnkr.co/edit/4qpHwp or http://plnkr.co/edit/lzYaZt (with version 0.4.5) - Older version with Angular 1.2.0 is placed at http://plnkr.co/edit/mejR4h - Older version with Angular 1.2.0-rc.2 is placed at http://plnkr.co/edit/iaC2NY - Older version with Angular 1.1.5 is placed at http://plnkr.co/mVR4P4 ## Getting started 1. Link scripts: ```html ``` 2. Add toaster container directive: `` 3. Prepare the call of toaster method: ```js // Display an info toast with no title angular.module('main', ['toaster']) .controller('myController', function($scope, toaster) { $scope.pop = function(){ toaster.pop('success', "title", "text"); }; }); ``` 4. Call controller method on button click: ```html
``` ### Other Options ```html // Change display position ``` ### Animations Unlike toastr, this library relies on ngAnimate and CSS3 transformations for animations. ## Author **Jiri Kavulak** ## Credits Inspired by http://codeseven.github.io/toastr/demo.html. ## Copyright Copyright © 2013 [Jiri Kavulak](https://twitter.com/jirikavi). ## License AngularJS-Toaster is under MIT license - http://www.opensource.org/licenses/mit-license.php