An open API service indexing awesome lists of open source software.

https://github.com/wangta69/ng-count-up-js

countUp.js for angular
https://github.com/wangta69/ng-count-up-js

Last synced: 3 months ago
JSON representation

countUp.js for angular

Awesome Lists containing this project

README

        

# ng-count-up-js

## refer
```
ng-countup is a rewritten version of https://github.com/inorganik/
```
## Install
```
npm i ng-count-up-js
```

## app.module.ts
```
import { CountUpModule } from 'ng-count-up-js';
..........
@NgModule({
..........
imports: [
CountUpModule,
..........
]
})
```

## component.html
```


300000
400000
500000
0

```

## Parameters
### Input
- endVal: the number to count to
- duration: Optional duration of the animation in seconds. Default is 2.
- startVal: (Number) Optional start value for the count. Defaults to zero.
- decimals: Optional number of decimal places. Default is 2.

### Output
- complete