zz-chart
Version:
Alauda Chart components by Alauda Frontend Team
25 lines • 475 B
JavaScript
import { Action } from './action.js';
/**
* 元素激活
*/
export class ElementAction extends Action {
get name() {
return 'element';
}
get pieCtrl() {
return this.view.shapeComponents.get('pie');
}
/**
* 激活
*/
active(context) {
this.pieCtrl?.onMousemove(context);
}
/**
* 重制
*/
reset(context) {
this.pieCtrl?.onMouseleave(context);
}
}
//# sourceMappingURL=element.js.map