@antv/g2
Version:
the Grammar of Graphics in Javascript
9 lines • 372 B
JavaScript
import { createColorKey } from './utils';
import { ElementHighlight } from './elementHighlight';
export function ElementHighlightByColor(options) {
return ElementHighlight(Object.assign(Object.assign({}, options), { createGroup: createColorKey }));
}
ElementHighlightByColor.props = {
reapplyWhenUpdate: true,
};
//# sourceMappingURL=elementHighlightByColor.js.map