NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/g2/esm/base.d.ts

34 lines
668 B
TypeScript
Raw Normal View History

2023-09-14 14:47:11 +08:00
import EE from '@antv/event-emitter';
interface BaseCfg {
visible?: boolean;
}
/**
* G2 ChartViewGeometry Element
*/
export default class Base extends EE {
/** 是否可见 */
visible: boolean;
/** 标识对象是否已销毁 */
destroyed: boolean;
constructor(cfg: BaseCfg);
/**
*
*/
show(): void;
/**
*
*/
hide(): void;
/**
*
*/
destroy(): void;
/**
*
* @param visible
* @returns
*/
changeVisible(visible: boolean): void;
}
export {};