UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

12 lines 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function createId(instance) { var constructor = instance.constructor; var className = constructor.className; if (!className) { throw new Error("The " + constructor + " is missing the 'className' property."); } return className + '-' + (constructor.id = (constructor.id || 0) + 1); } exports.createId = createId; //# sourceMappingURL=id.js.map