UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

6 lines (5 loc) 340 B
export const addRuntimeState = (g, stateName, attrs, keepCurrentStates = !0, hasAnimation) => { g.runtimeStateCache || (g.runtimeStateCache = {}), g.runtimeStateCache[stateName] = attrs, g.hasState(stateName) && g.removeState(stateName), g.addState(stateName, keepCurrentStates, hasAnimation); }; //# sourceMappingURL=glyph.js.map