UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

14 lines (10 loc) 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: !0 }), exports.addRuntimeState = void 0; 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); }; exports.addRuntimeState = addRuntimeState; //# sourceMappingURL=glyph.js.map