kylin-ngx-nprogress
v0.1.0
Published
angular版本的nprogress
Downloads
3
Readme
kylin-ngx-nprogress
Installation
npm install nprogress -S
npm install kylin-ngx-nprogress -S
copy the assets file to the assets file of your project
Usage
Firstly,import KylinNgxNprogressModule in your app module (or your shared module):
import { KylinNgxNprogressModule } from 'kylin-ngx-nprogress';
@NgModule({
imports: [
...,
KylinNgxNprogressModule
],
...
})
export class AppModule { }
or
import {KylinNgxNprogressModule} from 'kylin-ngx-nprogress';
@NgModule({
imports: [
KylinNgxNprogressModule
],
declarations: [],
providers: [],
exports: [KylinNgxNprogressModule]
})
export class SharedModule {
}
API
Directive
| Input | Type | Default | Description| | :------|:----- | :----- | :-----| | state | boolean | false | Open or close progress bar| | 单元格 | 单元格 | 单元格 |2222|