{"_id":"ng-toast","_rev":"6-143c9732f2338fca7f536324dfc8485f","name":"ng-toast","description":"Angular provider for toast notifications","dist-tags":{"latest":"2.0.0"},"versions":{"1.5.5":{"name":"ng-toast","version":"1.5.5","description":"Angular provider for toast notifications","main":"dist/ngToast.js","keywords":["angular","toast","message","notification","toastr"],"repository":{"type":"git","url":"git://github.com/tameraydin/ngToast.git"},"author":{"name":"Tamer Aydin","url":"http://tamerayd.in"},"contributors":[{"name":"Tamer Aydin","url":"http://tamerayd.in"},{"name":"Levi Thomason","url":"http://www.levithomason.com"}],"license":{"type":"MIT","url":"http://tameraydin.mit-license.org/"},"homepage":"http://tameraydin.github.io/ngToast","bugs":{"url":"https://github.com/tameraydin/ngToast/issues"},"devDependencies":{"caniuse-db":"latest","colors":"^1.0.3","diff":"^1.0.8","grunt":"^0.4.5","grunt-autoprefixer":"^2.2.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-compass":"~0.7.2","grunt-contrib-concat":"~0.3.0","grunt-contrib-cssmin":"~0.10.0","grunt-contrib-jshint":"~0.7.1","grunt-contrib-less":"^0.12.0","grunt-contrib-uglify":"~0.2.0","grunt-contrib-watch":"^0.6.1","grunt-cssbeautifier":"^0.1.2","grunt-karma":"~0.8.3","karma":"~0.12.16","karma-jasmine":"~0.1.5","karma-phantomjs-launcher":"~0.1.4"},"scripts":{"test":"grunt karma"},"gitHead":"50005f6eace2bbf9e1fbb63218b53e0d3bd31b0b","_id":"ng-toast@1.5.5","_shasum":"20d3930ac80e3a2daceeb457c4a1055b23af8b2d","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"tameraydin","email":"tamer.aydin@gmail.com"},"dist":{"shasum":"20d3930ac80e3a2daceeb457c4a1055b23af8b2d","tarball":"https://registry.npmjs.org/ng-toast/-/ng-toast-1.5.5.tgz","integrity":"sha512-/9uA27KIPzsq/W8koaXPCLaxUIkr+c2opV88BhEBMBWzncMOWdxCp/YLWX7WQTPfGJS+RwB8pcUCb1ImKO1H/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGe/TmJV/oIeJaVt8AF6ea5JYf5Lx5fbzNdwrYJT1tVXAiAXp5hd8qFJniR7bsaoor0ZCckiXtsIczf38bIeih4f+w=="}]},"maintainers":[{"name":"tameraydin","email":"tamer.aydin@gmail.com"}]},"1.5.6":{"name":"ng-toast","version":"1.5.6","description":"Angular provider for toast notifications","main":"dist/ngToast.js","keywords":["angular","toast","message","notification","toastr"],"repository":{"type":"git","url":"git://github.com/tameraydin/ngToast.git"},"author":{"name":"Tamer Aydin","url":"http://tamerayd.in"},"contributors":[{"name":"Tamer Aydin","url":"http://tamerayd.in"},{"name":"Levi Thomason","url":"http://www.levithomason.com"}],"license":"MIT","homepage":"http://tameraydin.github.io/ngToast","bugs":{"url":"https://github.com/tameraydin/ngToast/issues"},"devDependencies":{"caniuse-db":"latest","colors":"^1.0.3","diff":"^1.0.8","grunt":"^0.4.5","grunt-autoprefixer":"^2.2.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-compass":"~0.7.2","grunt-contrib-concat":"~0.3.0","grunt-contrib-cssmin":"~0.10.0","grunt-contrib-jshint":"~0.7.1","grunt-contrib-less":"^0.12.0","grunt-contrib-uglify":"~0.2.0","grunt-contrib-watch":"^0.6.1","grunt-cssbeautifier":"^0.1.2","grunt-karma":"~0.8.3","karma":"~0.12.16","karma-jasmine":"~0.1.5","karma-phantomjs-launcher":"~0.1.4","lodash":"^3.10.1"},"scripts":{"test":"grunt karma"},"gitHead":"33bafbd8700057e1f30cecea19f7d9bfdd8bf345","_id":"ng-toast@1.5.6","_shasum":"f9d8e92aaa045d567b04f3ebfa0e58287de0e824","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"tameraydin","email":"tamer.aydin@gmail.com"},"dist":{"shasum":"f9d8e92aaa045d567b04f3ebfa0e58287de0e824","tarball":"https://registry.npmjs.org/ng-toast/-/ng-toast-1.5.6.tgz","integrity":"sha512-AgTm1I26jTTKj3Vg0cxUfxJYJY6RZUEnJb9Pzy1mLq1QP06U/4H9Zswv6SWrV9rDV8wQLHLa7rHoHSvplta0UA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9zKUy3d7PL6GvlO0DHhIltbZsVcBvmHHE7IkrhWsliAIhAP1v+RR34FqBxe59YmPxxddPccUbnwUzkD0yMIg/+zhm"}]},"maintainers":[{"name":"tameraydin","email":"tamer.aydin@gmail.com"}]},"2.0.0":{"name":"ng-toast","version":"2.0.0","description":"Angular provider for toast notifications","main":"dist/ngToast.js","keywords":["angular","toast","message","notification","toastr"],"repository":{"type":"git","url":"git://github.com/tameraydin/ngToast.git"},"author":{"name":"Tamer Aydin","url":"http://tamerayd.in"},"contributors":[{"name":"Tamer Aydin","url":"http://tamerayd.in"},{"name":"Levi Thomason","url":"http://www.levithomason.com"}],"license":"MIT","homepage":"http://tameraydin.github.io/ngToast","bugs":{"url":"https://github.com/tameraydin/ngToast/issues"},"dependencies":{"angular":">=1.2.15 <1.6","angular-sanitize":">=1.2.15 <1.6"},"devDependencies":{"caniuse-db":"latest","colors":"^1.0.3","diff":"^1.0.8","grunt":"^0.4.5","grunt-autoprefixer":"^2.2.0","grunt-banner":"^0.6.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.3.0","grunt-contrib-cssmin":"0.8.0","grunt-contrib-jshint":"~0.7.1","grunt-contrib-less":"^0.12.0","grunt-contrib-uglify":"~0.2.0","grunt-contrib-watch":"^0.6.1","grunt-cssbeautifier":"^0.1.2","grunt-karma":"^0.12.1","grunt-sass":"^1.1.0","jasmine-core":"^2.4.1","karma":"^0.13.22","karma-jasmine":"^0.3.7","karma-phantomjs-launcher":"^1.0.0","lodash":"^3.10.1","phantomjs-prebuilt":"^2.1.5"},"scripts":{"test":"grunt karma"},"gitHead":"e8d78be2bdad600efe84c352d8c7bdfc714a53c8","_id":"ng-toast@2.0.0","_shasum":"7fc133fc05e88690830e87cd3d1f193df1c33483","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.5.0","_npmUser":{"name":"tameraydin","email":"tamer.aydin@gmail.com"},"dist":{"shasum":"7fc133fc05e88690830e87cd3d1f193df1c33483","tarball":"https://registry.npmjs.org/ng-toast/-/ng-toast-2.0.0.tgz","integrity":"sha512-IkkbOJEWtzLCC88hAeEXJ9QY6ATEX7tyqfyxAP1QjQHRV4Knwuh71PnyK/d+DkrNoTnhzIs+X5292GTeRIs5kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5gZWqiHl9/gtm5g5XjxbyrxS109peR5vLVXiZ51FAiwIgRUSZVxmJVOkp5xVqd5TfHrVnqVDRlKEkcQuL+PAVk+0="}]},"maintainers":[{"name":"tameraydin","email":"tamer.aydin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/ng-toast-2.0.0.tgz_1457909917343_0.9073467317502946"}}},"readme":"ngToast [![Code Climate](http://img.shields.io/codeclimate/github/tameraydin/ngToast.svg?style=flat-square)](https://codeclimate.com/github/tameraydin/ngToast/dist/ngToast.js) [![Build Status](http://img.shields.io/travis/tameraydin/ngToast/master.svg?style=flat-square)](https://travis-ci.org/tameraydin/ngToast)\n=======\n\nngToast is a simple Angular provider for toast notifications.\n\n**[Demo](http://tameraydin.github.io/ngToast)**\n\n## Usage\n\n1. Install via [Bower](http://bower.io/) or [NPM](http://www.npmjs.org):\n  ```bash\n  bower install ngtoast --production\n  # or\n  npm install ng-toast --production\n  ```\n  or manually [download](https://github.com/tameraydin/ngToast/archive/master.zip).\n\n2. Include ngToast source files and dependencies ([ngSanitize](http://docs.angularjs.org/api/ngSanitize), [Bootstrap CSS](http://getbootstrap.com/)):\n  ```html\n  <link rel=\"stylesheet\" href=\"bower/bootstrap/dist/css/bootstrap.min.css\">\n  <link rel=\"stylesheet\" href=\"bower/ngtoast/dist/ngToast.min.css\">\n  \n  <script src=\"bower/angular-sanitize/angular-sanitize.min.js\"></script>\n  <script src=\"bower/ngtoast/dist/ngToast.min.js\"></script>\n  ```\n *Note: only the [Alerts](http://getbootstrap.com/components/#alerts) component is used as style base, so you don't have to include complete CSS*\n\n3. Include ngToast as a dependency in your application module:\n  ```javascript\n  var app = angular.module('myApp', ['ngToast']);\n  ```\n\n4. Place `toast` element into your HTML:\n  ```html\n  <body>\n    <toast></toast>\n    ...\n  </body>\n  ```\n\n5. Inject ngToast provider in your controller:\n  ```javascript\n  app.controller('myCtrl', function(ngToast) {\n    ngToast.create('a toast message...');\n  });\n  // for more info: http://tameraydin.github.io/ngToast/#api\n  ```\n\n## Animations\nngToast comes with optional animations. In order to enable animations in ngToast, you need to include [ngAnimate](http://docs.angularjs.org/api/ngAnimate) module into your app:\n\n```html\n<script src=\"bower/angular-animate/angular-animate.min.js\"></script>\n```\n\n**Built-in**\n  1. Include the ngToast animation stylesheet:\n  \n  ```html\n  <link rel=\"stylesheet\" href=\"bower/ngtoast/dist/ngToast-animations.min.css\">\n  ```\n\n  2. Set the `animation` option.\n  ```javascript\n  app.config(['ngToastProvider', function(ngToastProvider) {\n    ngToastProvider.configure({\n      animation: 'slide' // or 'fade'\n    });\n  }]);\n  ```\n  Built-in ngToast animations include `slide` & `fade`.\n  \n**Custom**\n  \n  See the [plunker](http://plnkr.co/edit/wglAvsCuTLLykLNqVGwU) using [animate.css](http://daneden.github.io/animate.css/).\n  \n  1. Using the `additionalClasses` option and [ngAnimate](http://docs.angularjs.org/api/ngAnimate) you can easily add your own animations or wire up 3rd party css animations.\n  ```javascript\n  app.config(['ngToastProvider', function(ngToastProvider) {\n    ngToastProvider.configure({\n      additionalClasses: 'my-animation'\n    });\n  }]);\n  ```\n\n  2. Then in your CSS (example using animate.css):\n  ```css\n  /* Add any vendor prefixes you need */\n  .my-animation.ng-enter {\n    animation: flipInY 1s;\n  }\n  \n  .my-animation.ng-leave {\n    animation: flipOutY 1s;\n  }\n  ```\n\n## Settings & API\n\nPlease find at the [project website](http://tameraydin.github.io/ngToast/#api).\n\n## Development\n\n* Clone the repo or [download](https://github.com/tameraydin/ngToast/archive/master.zip)\n* Install dependencies: ``npm install && bower install``\n* Run ``grunt watch``, play on **/src**\n* Build: ``grunt``\n\n## License\n\nMIT [http://tameraydin.mit-license.org/](http://tameraydin.mit-license.org/)\n\n## Maintainers\n\n- [Tamer Aydin](http://tamerayd.in)\n- [Levi Thomason](http://www.levithomason.com)\n\n## TODO\n- Add more unit & e2e tests\n","maintainers":[{"name":"tameraydin","email":"tamer.aydin@gmail.com"}],"time":{"modified":"2022-06-21T04:48:00.327Z","created":"2015-08-27T20:55:05.915Z","1.5.5":"2015-08-27T20:55:05.915Z","1.5.6":"2015-09-18T23:20:53.206Z","2.0.0":"2016-03-13T22:58:39.945Z"},"homepage":"http://tameraydin.github.io/ngToast","keywords":["angular","toast","message","notification","toastr"],"repository":{"type":"git","url":"git://github.com/tameraydin/ngToast.git"},"contributors":[{"name":"Tamer Aydin","url":"http://tamerayd.in"},{"name":"Levi Thomason","url":"http://www.levithomason.com"}],"author":{"name":"Tamer Aydin","url":"http://tamerayd.in"},"bugs":{"url":"https://github.com/tameraydin/ngToast/issues"},"license":"MIT","readmeFilename":"README.md","users":{"jalfcolombia":true}}