UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

15 lines (13 loc) 315 B
import { createID } from "../../util/id"; export class BasePlugin { constructor(type) { this.id = createID(), this.name = `${type}_${this.id}`; } onAdd(service) { this.service = service; } release() { this.service = null; } } //# sourceMappingURL=base-plugin.js.map