0.1.0 • Published 7 years ago
@ngx-extensions/count-up.js v0.1.0
@ngx-extensions/countup.js
A wrapper module for countup.js
Installation
npm install @ngx-extensions/count-up.jsSetup
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 {}0.1.0
7 years ago