ng-count-up-js
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

ng-count-up-js

Install

npm i ng-count-up-js

app.module.ts

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

component.html

<div appCountUp [endVal]="endVal" [duration]='0.1'></div>

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

Package Sidebar

Install

npm i ng-count-up-js

Weekly Downloads

76

Version

1.1.1

License

MIT

Unpacked Size

90.4 kB

Total Files

14

Last publish

Collaborators

  • pondol