@visactor/vchart
Version:
charts lib based @visactor/VGrammar
16 lines • 458 B
JavaScript
export class CompilableBase {
getOption() {
return this._option;
}
constructor(option) {
this._option = option, this.getCompiler = this._option.getCompiler;
}
getVGrammarView() {
var _a;
return null === (_a = this.getCompiler()) || void 0 === _a ? void 0 : _a.getVGrammarView();
}
release() {
this._option = null, this.getCompiler = null;
}
}
//# sourceMappingURL=compilable-base.js.map