UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

25 lines (20 loc) 666 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: !0 }), exports.VChartPluginService = void 0; const base_plugin_service_1 = require("../base/base-plugin-service"); class VChartPluginService extends base_plugin_service_1.BasePluginService { constructor(globalInstance) { super(), this.globalInstance = globalInstance; } onInit() { this._plugins.forEach((plugin => { plugin.onInit && plugin.onInit(this); })); } releaseAll() { super.releaseAll(), this.globalInstance = null; } } exports.VChartPluginService = VChartPluginService; //# sourceMappingURL=plugin-service.js.map