@balkangraph/orgchart.js 8.13.9 → 8.13.11

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 CHANGED
@@ -1461,6 +1461,11 @@ declare namespace OrgChart {
1461
1461
  boundary
1462
1462
  }
1463
1463
 
1464
+ enum draggable {
1465
+ node,
1466
+ tree
1467
+ }
1468
+
1464
1469
 
1465
1470
  enum action {
1466
1471
  update,
@@ -1486,10 +1491,6 @@ declare namespace OrgChart {
1486
1491
 
1487
1492
 
1488
1493
 
1489
- enum draggable {
1490
- node
1491
- //tree
1492
- }
1493
1494
 
1494
1495
 
1495
1496
 
@@ -2532,7 +2533,13 @@ declare class OrgChartBase {
2532
2533
  * dragged node id
2533
2534
  */
2534
2535
  dragId: string | number,
2535
- event: MouseEvent
2536
+ event: MouseEvent,
2537
+ /**
2538
+ * array of node ids
2539
+ *
2540
+ * this property is initialized only if draggable option is set
2541
+ */
2542
+ nodeIds: Array<string | number>
2536
2543
  }) => void): OrgChart;
2537
2544
  /**
2538
2545
  * The onDrop event occurs when a node is dropped. *enableDragDrop* option has to be turned on.