0.1.0 • Published 5 years ago

@ngx-extensions/count-up.js v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@ngx-extensions/countup.js

A wrapper module for countup.js

Installation

npm install @ngx-extensions/count-up.js

Setup

Import NgxCountUpModule into your module:

import { NgxCountUpModule } from '@ngx-extensions/count-up.js';

@NgModule({
  imports: [NgxCountUpModule]
})
export class AppModule {}

Usage

A simple use case looks as follows

@Component({
  template: `
    <span ngxCountUp startValue="0" endValue="100" duration="3"></span>
  `
})
export class DemoComponent {}