https://github.com/walteribeiro/angular-notifications
Simple notifications for Angular apps
https://github.com/walteribeiro/angular-notifications
angular angular-notification angular4 notifications
Last synced: about 1 year ago
JSON representation
Simple notifications for Angular apps
- Host: GitHub
- URL: https://github.com/walteribeiro/angular-notifications
- Owner: walteribeiro
- License: mit
- Created: 2017-11-14T16:28:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T19:20:04.000Z (over 3 years ago)
- Last Synced: 2024-04-14T02:52:43.901Z (almost 2 years ago)
- Topics: angular, angular-notification, angular4, notifications
- Language: TypeScript
- Homepage:
- Size: 1.72 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Welcome to angular4-simple-notifications 👋
> Simple notifications for Angular apps
## Prerequisites
- node >=6.0.0
## Installation
To install this library, run:
```bash
$ yarn add angular4-simple-notifications
```
and then from your Angular `AppModule`:
```typescript
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import the Module
import {SimpleNotificationsModule} from 'angular4-simple-notifications';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule, // Need to import for the animations
SimpleNotificationsModule.forRoot() // Use forRoot() method
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
```
## Development
To generate all `*.js`, `*.d.ts` and `*.metadata.json` files:
```bash
$ yarn build
```
To lint all `*.ts` files:
```bash
$ yarn lint
```
## Author
👤 **Walter Ribeiro**
* Twitter: [@walter19921](https://twitter.com/walter19921)
* Github: [@walteribeiro](https://github.com/walteribeiro)
* LinkedIn: [@walterribeiroti](https://linkedin.com/in/walterribeiroti)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/walteribeiro/angular-notifications/issues). You can also take a look at the [contributing guide](https://github.com/walteribeiro/angular-notifications/blob/master/CONTRIBUTING.md).
## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2020 [Walter Ribeiro](https://github.com/walteribeiro).
This project is [MIT](https://github.com/walteribeiro/angular-notifications/blob/master/LICENSE) licensed.