UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

16 lines 577 B
import * as _ from '@antv/util'; import { EVENT_MAP, onEvent } from '../../util/event'; var SHAPE_EVENT_MAP = { onRectClick: 'polygon:click', onRectDblclick: 'polygon:dblclick', onRectMousemove: 'polygon:mousemove', onRectMouseenter: 'polygon:mouseenter', onRectMouseleave: 'polygon:mouseleave', onRectMousedown: 'polygon:mousedown', onRectMouseup: 'polygon:mouseup', onRectContextmenu: 'polygon:contextmenu', test: 'breadcrumb:click', }; _.assign(EVENT_MAP, SHAPE_EVENT_MAP); export { EVENT_MAP, onEvent }; //# sourceMappingURL=event.js.map