@visactor/vchart
Version:
charts lib based @visactor/VGrammar
25 lines (16 loc) • 775 B
JavaScript
import { registerHtmlAttributePlugin, registerReactAttributePlugin } from "@visactor/vrender-core";
import { registerAnimate as registerVRenderAnimate } from "@visactor/vrender-animate";
import { DragNDrop, Gesture } from "@visactor/vrender-kits";
import { Factory } from "../core/factory";
import { registerBuiltInAnimation } from "../animation/config";
export const registerAnimate = () => {
registerVRenderAnimate(), registerBuiltInAnimation();
};
export const registerDragPlugin = () => {
Factory.registerStageEventPlugin("drag", DragNDrop);
};
export const registerGesturePlugin = () => {
Factory.registerStageEventPlugin("gesture", Gesture);
};
export { registerReactAttributePlugin, registerHtmlAttributePlugin };
//# sourceMappingURL=other.js.map