@balkangraph/orgchart.js 8.16.22 → 8.16.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/orgchart.d.ts +22 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -685,6 +685,9 @@ declare class OrgChart {
|
|
|
685
685
|
vertical: boolean,
|
|
686
686
|
horizontal: boolean
|
|
687
687
|
} | null, callback?: () => void): void;
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
|
|
688
691
|
/**
|
|
689
692
|
* Fits the content to the visible area.
|
|
690
693
|
* ```typescript
|
|
@@ -1399,6 +1402,25 @@ declare class OrgChart {
|
|
|
1399
1402
|
event: any
|
|
1400
1403
|
}) => void): OrgChart;
|
|
1401
1404
|
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* On canvas SVG click event listener.
|
|
1408
|
+
* ```typescript
|
|
1409
|
+
* let chart = new OrgChart('#tree', {});
|
|
1410
|
+
* chart.onCanvasClick(() => {
|
|
1411
|
+
* });
|
|
1412
|
+
* chart.load(nodes);
|
|
1413
|
+
* ```
|
|
1414
|
+
* @category Event Listeners
|
|
1415
|
+
* @param listener
|
|
1416
|
+
*/
|
|
1417
|
+
onCanvasClick(listener: (this: OrgChart, args: {
|
|
1418
|
+
/**
|
|
1419
|
+
* the browser event
|
|
1420
|
+
*/
|
|
1421
|
+
event: any
|
|
1422
|
+
}) => void): OrgChart;
|
|
1423
|
+
|
|
1402
1424
|
/**
|
|
1403
1425
|
* In onAIToolCalls we parse the AI responce to our functions
|
|
1404
1426
|
* ```typescript
|
package/orgchart.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
1
|
+
/* eslint-disable */
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"8.16.
|
|
1
|
+
{"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"8.16.23"}
|