0.7.10 • Published 7 years ago
angular2-notifications-lynx-solutions v0.7.10
Angular2-Notifications
A light and easy to use notifications library for Angular 2. It features both regular page notifications (toasts) and push notifications.
Table of Contents
Example
Take a look at the live demo here: Live Demo You can also clone this repository and check out the example folder.
Setup
Install the library
npm install --save angular2-notifications
# Or using Yarn for a faster installation
yarn add angular2-notifications
SystemJS
Map the library in your system.config.js
if you're using SystemJs.
var map = {
'angular2-notifications': 'node_modules/angular2-notifications'
}
var packages = {
'angular2-notifications': { main: './dist/index.js', defaultExtension: 'js' }
}
Webpack
If you're using Webpack >= 2, just include the library in your main.ts
or vendor.ts
file
import 'angular2-notifications';