gov-gui
Version:
Gov UI Component Library Typscript Build
27 lines (26 loc) • 786 B
TypeScript
import { ChartType } from 'chart.js/auto';
import { AnimationProps } from '../../global/animation-helpers';
export declare class GovChart implements AnimationProps {
private canvasRef;
private chart;
type: ChartType;
data: any;
options: any;
animation?: string;
animationDelay?: '2s' | '3s' | '4s' | '5s';
animationSpeed?: 'slow' | 'slower' | 'fast' | 'faster';
private allClasses;
handleDataChange(): void;
watchAnimations(): void;
watchAnimationsDelay(): void;
watchAnimationsSpeed(): void;
componentWillLoad(): void;
provideClass(): void;
private parseProp;
componentDidLoad(): void;
disconnectedCallback(): void;
createChart(): void;
updateChart(): void;
destroyChart(): void;
render(): any;
}