@swimlane/ngx-charts
Version:
Declarative Charting Framework for Angular2 and beyond!
33 lines (32 loc) • 859 B
TypeScript
import { EventEmitter, ChangeDetectorRef, NgZone, OnDestroy, ElementRef } from '@angular/core';
/**
* Count up component
*
* Loosely inspired by:
* - https://github.com/izupet/angular2-counto
* - https://inorganik.github.io/countUp.js/
*
* @export
* @class CountUpDirective
*/
export declare class CountUpDirective implements OnDestroy {
private cd;
private zone;
countDuration: number;
countPrefix: string;
countSuffix: string;
countDecimals: number;
countTo: any;
countFrom: any;
countChange: EventEmitter<{}>;
countFinish: EventEmitter<{}>;
nativeElement: any;
private value;
private animationReq;
private _countDecimals;
private _countTo;
private _countFrom;
constructor(cd: ChangeDetectorRef, zone: NgZone, element: ElementRef);
ngOnDestroy(): void;
start(): void;
}