Files
flask-formula10/chartjs/dist/core/core.animations.d.ts
2024-03-03 01:01:07 +01:00

23 lines
688 B
TypeScript

export default class Animations {
constructor(chart: any, config: any);
_chart: any;
_properties: Map<any, any>;
configure(config: any): void;
/**
* Utility to handle animation of `options`.
* @private
*/
private _animateOptions;
/**
* @private
*/
private _createAnimations;
/**
* Update `target` properties to new values, using configured animations
* @param {object} target - object to update
* @param {object} values - new target properties
* @returns {boolean|undefined} - `true` if animations were started
**/
update(target: object, values: object): boolean | undefined;
}