NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/g2/esm/animate/animation/index.d.ts

17 lines
619 B
TypeScript
Raw Normal View History

2023-09-14 14:47:11 +08:00
import { IGroup, IShape } from '../../dependents';
import { GAnimateCfg } from '../../interface';
import { AnimateExtraCfg } from '../interface';
declare type Animation = (element: IGroup | IShape, animateCfg: GAnimateCfg, cfg: AnimateExtraCfg) => void;
/**
*
* @param type
*/
export declare function getAnimation(type: string): Animation;
/**
*
* @param type
* @param animation
*/
export declare function registerAnimation(type: string, animation: Animation): void;
export {};