UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

23 lines (22 loc) 885 B
import { DisplayObject } from '@antv/g'; /** * Scale up elements on hover. */ export declare function elementHoverScale(root: DisplayObject, { elements: elementsof, datum, groupKey, scaleFactor, shadow, shadowColor, shadowBlur, shadowOffsetX, shadowOffsetY, zIndex, delay, emitter, state, coordinate, }: Record<string, any>): () => void; export declare function ElementHoverScale({ delay, createGroup, scale: scaleFactorParam, shadow, shadowColor, shadowBlur, shadowOffsetX, shadowOffsetY, zIndex, ...rest }: { [x: string]: any; delay: any; createGroup: any; scale: any; shadow: any; shadowColor: any; shadowBlur: any; shadowOffsetX: any; shadowOffsetY: any; zIndex: any; }): (context: any, _contexts: any, emitter: any) => () => void; export declare namespace ElementHoverScale { var props: { reapplyWhenUpdate: boolean; }; }