1 | import { View } from '../../../chart';
|
2 | import Element from '../../../geometry/element/';
|
3 | /**
|
4 | * @ignore
|
5 | * 清理 highlight 效果
|
6 | * @param view View 或者 Chart
|
7 | */
|
8 | export declare function clearHighlight(view: View): void;
|
9 | declare type MatchCallback = (el: Element) => boolean;
|
10 | /**
|
11 | * @ignore
|
12 | * 设置多个元素的 highlight
|
13 | * @param elements 元素集合
|
14 | * @param callback 设置回调函数
|
15 | * @param enable 设置或者取消
|
16 | */
|
17 | export declare function setHighlightBy(elements: Element[], callback: MatchCallback, enable: boolean): void;
|
18 | export {};
|