UNPKG

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