ngx-notify
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

ngx-notify

一个无须依赖HTML模板、极简Angular通知组件。

NPM version Build Status

通知组件优秀的非常多,但多数都是需要依赖组件模板,这一点让我很蛋疼,特别是你想做一些(例如:通用处理HTTP操作时)通过操作时,这时就懵逼不&……%¥,于是就有了这个轮子!

Installation instructions

Install ngx-notify from npm

npm install ngx-notify --save

Import the NotifyModule in to your root AppModule.

import { NotifyModule } from 'ngx-notify';

@NgModule({
    imports: [
        BrowserModule,
        NotifyModule.forRoot({
            options: { },
            notify: {
                progress: true
            }
        })
    ],
    declarations: [AppComponent],
    bootstrap: [AppComponent]
})
export class AppModule { }

Usage & Demo

Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

  1. Use GitHub Issues board to report bugs and feature requests (not our email address)
  2. Please always write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

More

更多说明见:中文版

License

The MIT License (see the LICENSE file for the full text)

Package Sidebar

Install

npm i ngx-notify

Weekly Downloads

65

Version

2.0.2

License

MIT

Unpacked Size

276 kB

Total Files

47

Last publish

Collaborators

  • cipchk