@balkangraph/orgchart.js 8.2.77 → 8.2.78
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 +8 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -343,6 +343,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
343
343
|
* chart.onField((args) => {
|
|
344
344
|
* //return false; to cancel
|
|
345
345
|
* });
|
|
346
|
+
* chart.load(nodes);
|
|
346
347
|
* ```
|
|
347
348
|
* @category Event Listeners
|
|
348
349
|
* @param listener
|
|
@@ -376,6 +377,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
376
377
|
* var chart = new OrgChart('#tree', {});
|
|
377
378
|
* chart.onInit(() => {
|
|
378
379
|
* });
|
|
380
|
+
* chart.load(nodes);
|
|
379
381
|
* ```
|
|
380
382
|
* @category Event Listeners
|
|
381
383
|
* @param listener
|
|
@@ -390,6 +392,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
390
392
|
* var chart = new OrgChart('#tree', {});
|
|
391
393
|
* chart.onRedraw(() => {
|
|
392
394
|
* });
|
|
395
|
+
* chart.load(nodes);
|
|
393
396
|
* ```
|
|
394
397
|
* @category Event Listeners
|
|
395
398
|
* @param listener
|
|
@@ -403,6 +406,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
403
406
|
* chart.onExpandCollpaseButtonClick(() => {
|
|
404
407
|
* //return false; to cancel the operation
|
|
405
408
|
* });
|
|
409
|
+
* chart.load(nodes);
|
|
406
410
|
* ```
|
|
407
411
|
* @category Event Listeners
|
|
408
412
|
* @param listener
|
|
@@ -429,6 +433,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
429
433
|
* args.styles += '<link href="https://fonts.googleapis.com/css?family=Gochi+Hand" rel="stylesheet">';
|
|
430
434
|
* //return false; to cancel the operation
|
|
431
435
|
* });
|
|
436
|
+
* chart.load(nodes);
|
|
432
437
|
* ```
|
|
433
438
|
* @category Event Listeners
|
|
434
439
|
* @param listener
|
|
@@ -485,6 +490,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
485
490
|
* chart.onExportEnd(() => {
|
|
486
491
|
* //return false; to cancel the operation for example id you prefer the exported document to not download
|
|
487
492
|
* });
|
|
493
|
+
* chart.load(nodes);
|
|
488
494
|
* ```
|
|
489
495
|
* @category Event Listeners
|
|
490
496
|
* @param listener
|
|
@@ -544,6 +550,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
544
550
|
* chart.onNodeClick(() => {
|
|
545
551
|
* //return false; to cancel the operation
|
|
546
552
|
* });
|
|
553
|
+
* chart.load(nodes);
|
|
547
554
|
* ```
|
|
548
555
|
* @category Event Listeners
|
|
549
556
|
* @param listener
|
|
@@ -565,6 +572,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
565
572
|
* chart.onNodeDoubleClick(() => {
|
|
566
573
|
* //return false; to cancel the operation
|
|
567
574
|
* });
|
|
575
|
+
* chart.load(nodes);
|
|
568
576
|
* ```
|
|
569
577
|
* @category Event Listeners
|
|
570
578
|
* @param listener
|