UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular

39 lines (38 loc) 1.46 kB
import { EventEmitter, ChangeDetectorRef, OnDestroy, ElementRef } from '@angular/core'; import * as i0 from "@angular/core"; /** * Count up component * * Loosely inspired by: * - https://github.com/izupet/angular2-counto * - https://inorganik.github.io/countUp.js/ * * @export */ export declare class CountUpDirective implements OnDestroy { private cd; countDuration: number; countPrefix: string; countSuffix: string; valueFormatting: any; set countDecimals(val: number); get countDecimals(): number; set countTo(val: any); get countTo(): any; set countFrom(val: any); get countFrom(): any; countChange: EventEmitter<any>; countFinish: EventEmitter<any>; nativeElement: any; value: any; formattedValue: string; private animationReq; private _countDecimals; private _countTo; private _countFrom; constructor(cd: ChangeDetectorRef, element: ElementRef); ngOnDestroy(): void; start(): void; static ɵfac: i0.ɵɵFactoryDeclaration<CountUpDirective, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CountUpDirective, "[ngx-charts-count-up]", never, { "countDuration": "countDuration"; "countPrefix": "countPrefix"; "countSuffix": "countSuffix"; "valueFormatting": "valueFormatting"; "countDecimals": "countDecimals"; "countTo": "countTo"; "countFrom": "countFrom"; }, { "countChange": "countChange"; "countFinish": "countFinish"; }, never, never>; }