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
- Host: GitHub
- URL: https://github.com/wangta69/ng-count-up-js
- Owner: wangta69
- Created: 2019-02-25T07:15:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T04:25:00.000Z (about 1 year ago)
- Last Synced: 2025-03-08T05:33:14.917Z (3 months ago)
- Language: TypeScript
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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