Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Augustpi/angular2-notifier
Angular notifier
https://github.com/Augustpi/angular2-notifier
alert angular angular2-notifier angular8 notifer notification notifier toast toaster typescript
Last synced: about 1 month ago
JSON representation
Angular notifier
- Host: GitHub
- URL: https://github.com/Augustpi/angular2-notifier
- Owner: Augustpi
- License: mit
- Created: 2018-12-31T09:49:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T02:42:08.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T02:08:30.631Z (5 months ago)
- Topics: alert, angular, angular2-notifier, angular8, notifer, notification, notifier, toast, toaster, typescript
- Language: TypeScript
- Homepage: https://augustpi.github.io/angular-dart-notifier/
- Size: 2.3 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-angular-components - Augustpi/angular2-notifier - Angular notifier (UI Components / Notification)
README
# Angular2 notifier
## Welcome![Angular Notifier](https://woorklab.com/images/angular2-notifier.png)
## Demo link
[Angular web notifier demo page](https://augustpi.github.io/angular-dart-notifier/) (dart version)
## Angular Dart version
[Notifier Dart version](https://github.com/Augustpi/angular-dart-notifier)
## How to use
* First step import `notifier.ts` file in the **/src/** directory
```
import { Notifier } from "./notifier";
```
* and import notifier.css file (**/src/assets/**)
index.html `````````
sendNotifier(String type, String title, String content, int duration): void{
Notifier(type, title, content, duration).show();
}
``````
Notifier('info', 'title', 'content here', 1000).show();
```* **type** -> 'success', 'info', 'todo', 'reminder', 'warning' and 'danger' select one of them,
* **duration** int **milliseconds**![Angular dart notifier example](https://woorklab.com/images/notifier2.png)
## Angular.io
For Angular [Angular](http://angulardart.io)
## * Dartlang and AngularDart
For Dartlang please visit [Dartlang](https://dart.dev/) and [Github repo](https://github.com/dart-lang),
For AngularDart [AngularDart](http://angulardart.org) and [Github](https://github.com/dart-lang/angular)
```I love Dart```## Contribute
Our project is, without any discrimination, open to anyone who is willing to make a contribution!## License
Our project is licensed under ***MIT license***.