MCPcopy Create free account
hub / github.com/chartjs/Chart.js / Animation

Class Animation

src/types/animation.d.ts:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import {AnyObject} from './basic.js';
3
4export declare class Animation {
5 constructor(cfg: AnyObject, target: AnyObject, prop: string, to?: unknown);
6 active(): boolean;
7 update(cfg: AnyObject, to: unknown, date: number): void;
8 cancel(): void;
9 tick(date: number): void;
10 readonly _to: unknown;
11}
12
13export interface AnimationEvent {
14 chart: Chart;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected