UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

22 lines (21 loc) 798 B
import { DisplayObject } from '@antv/g'; /** * Active a group of elements. */ export declare function elementSelect(root: DisplayObject, { elements: elementsof, // given the root of chart returns elements to be manipulated datum, // given each element returns the datum of it groupKey, // group elements by specified key link, // draw link or not single, // single select or not coordinate, background, scale, emitter, state, }: Record<string, any>): () => void; export declare function ElementSelect({ createGroup, background, link, ...rest }: { [x: string]: any; createGroup: any; background?: boolean; link?: boolean; }): (context: any, _: any, emitter: any) => () => void; export declare namespace ElementSelect { var props: { reapplyWhenUpdate: boolean; }; }