UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

25 lines (16 loc) 825 B
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, registerStageAnimation } from "../animation/config"; export const registerAnimate = () => { registerVRenderAnimate(), registerBuiltInAnimation(), registerStageAnimation(); }; export const registerDragPlugin = () => { Factory.registerStageEventPlugin("drag", DragNDrop); }; export const registerGesturePlugin = () => { Factory.registerStageEventPlugin("gesture", Gesture); }; export { registerReactAttributePlugin, registerHtmlAttributePlugin }; //# sourceMappingURL=other.js.map