├── .gitignore
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── bower.json
├── dist
├── angular-toasty.css
├── angular-toasty.js
├── angular-toasty.min.css
└── angular-toasty.min.js
├── example
├── img
│ └── light_wool.png
├── index.html
├── script.js
└── skeleton.css
├── gulpfile.js
├── package.json
└── src
├── js
├── directive.js
├── module.js
├── provider.js
└── service.js
└── less
├── base.less
├── bootstrap
├── theme.less
└── variables.less
├── default
├── theme.less
└── variables.less
├── material
├── theme.less
└── variables.less
├── shake.less
└── toasty.less
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | bower_components
3 | .idea/
4 | *.iml
5 | *.log
6 | .DS_Store
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Contributing
2 | =================
3 |
4 | We welcome any features/ideas you might have to make angular-toasty even more awesome. If you have an idea you'd like to see implemented, but are unable to assist us by coding this yourself, feel free to make an issue at https://github.com/invertase/angular-toasty/issues!
5 |
6 | If you'd like to help code an features/idea yourself, please follow:
7 |
8 | #### Requirements
9 |
10 | You must have [Node JS](https://nodejs.org/) installed, along with [NPM](https://www.npmjs.com/).
11 | Once these are installed, install the following global NPM modules:
12 |
13 | ```
14 | sudo npm install -g bower gulp
15 | ```
16 |
17 | #### Pull-Requests
18 |
19 | To create a pull request, please [fork](https://help.github.com/articles/fork-a-repo/) the **development branch** repo! Once done, create a [new branch](https://github.com/Kunena/Kunena-Forum/wiki/Create-a-new-branch-with-git-and-manage-branches). If possible, call the branch name something related to your pull request.
20 |
21 | To ensure your feature is visible to the public, we ask you include it in the functionality of our examples.
22 |
23 | #### Developing
24 |
25 | When making changes, please ensure these are all done within the `src` directory. To build changes, simply run `gulp`.
26 | Once you're happy, run the `gulp --production` command to build your files into the `dist` directory.
27 |
28 | Please ensure your feature has an example, which can be added into the `example` directory.
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 Invertase
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Angular Toasty
2 | =================
3 | **Angular Toasty** is a simple standalone AngularJS module with extensive features that provides growl-style alerts and messages for your app.
4 |
5 | #### Demo
6 |
7 | [Check it out!](https://invertase.github.io/angular-toasty/example/)
8 |
9 | #### Current Features
10 | * 3 Themes (Default, Material Design & Bootstrap 3)
11 | * Global/Individual timeouts
12 | * Shaking Toasts
13 | * Toaster sound
14 | * onAdd, onRemove & onClick event handlers
15 | * Event broadcasting
16 | * Positioning
17 | * HTML allowed
18 |
19 | #### Installation
20 | ###### Install from Bower:
21 |
22 | ```HTML
23 | bower install angular-toasty
24 | ```
25 | ###### Add dependancies to HTML (AngularJS required)
26 |
27 | ```HTML
28 |
29 |
30 |
31 |
32 | ```
33 |
34 | ###### Add the toasty module to your Angular app:
35 |
36 | ```javascript
37 | angular.module('app', ['angular-toasty']);
38 | ```
39 |
40 | ###### Add the toasty directive:
41 |
42 | ```HTML
43 |
44 |