UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

23 lines (15 loc) 772 B
import { DragNDrop, Gesture } from "@visactor/vrender-kits/event/extension"; import { Factory } from "../core/factory"; import { registerBuiltInAnimation, registerStageAnimation } from "../animation/config"; import { registerHtmlAttributePlugin, registerReactAttributePlugin, registerVRenderAnimate } from "../vrender-bridge"; 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