@visactor/vchart
Version:
charts lib based @visactor/VGrammar
5 lines (4 loc) • 444 B
TypeScript
import type { IMarkGraphic } from '../mark/interface';
export declare const setGraphicStates: (graphic: IMarkGraphic, nextStates?: string[] | null, hasAnimation?: boolean) => void;
export declare const addGraphicState: (graphic: IMarkGraphic, state: string, keepCurrentStates?: boolean, hasAnimation?: boolean) => void;
export declare const removeGraphicState: (graphic: IMarkGraphic, state: string | string[], hasAnimation?: boolean) => void;