3.0.1 • Published 6 years ago

notify-angular v3.0.1

Weekly downloads
28
License
MIT
Repository
github
Last release
6 years ago

Simple, yet flexible notifications for Angular2 or greater. Why yet another notification library? I found them either too complex or too simplistic and strive for a good balance here. Additionally, it fits in well with Angular Material Design, but is still independent from the material design library!

Demo

notify-angular library demo

Live Demo: http://notify.tsmean.com/

Installation

npm install notify-angular

Import in your app.module:

imports: [NotifyModule]

Put this in your root component's html:

<notify></notify>

Usage

Inject NotifyService:

constructor (
  private notify: NotifyService
) {}
...

and use like this:

notify.success('cool beans');

or like this:

notify.error('not cool beans', {
  withShadow: false,
  color: green,
  background: red,
  timer: 500,
  position: {
    top: 0;
    right: 0;
  }
}

Comments

Semver is strictly followed. Now have fun with the library!

3.0.1

6 years ago

3.0.0

6 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago