@balkangraph/orgchart.js 8.14.73 → 8.14.74

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
@@ -2195,6 +2195,13 @@ declare namespace OrgChart {
2195
2195
  showXScroll?: boolean ,
2196
2196
  /**
2197
2197
  * movable node, move the node anywhere on the canvas
2198
+ * ```typescript
2199
+ * let chart = new OrgChart('#tree', {
2200
+ * movable: OrgChart.movable.node,
2201
+ * // movable: OrgChart.movable.tree,
2202
+ * // movable: OrgChart.movable.detachTree,
2203
+ * });
2204
+ * ```
2198
2205
  */
2199
2206
  movable?: OrgChart.movable,
2200
2207
  /**
@@ -2577,6 +2584,11 @@ declare namespace OrgChart {
2577
2584
  /**
2578
2585
  * Sets the maximum number of columns in grid layout, it has to be even nymber or 'dynamic' string
2579
2586
  * The default id 'dynamic', that means that the maximum colomn numbers are dinamicly calculated
2587
+ * ```typescript
2588
+ * let chart = new OrgChart('#tree', {
2589
+ * layoutGridColumns: 10,
2590
+ * });
2591
+ * ```
2580
2592
  */
2581
2593
  layoutGridColumns?: string | number,
2582
2594
  /**
@@ -2800,8 +2812,14 @@ declare namespace OrgChart {
2800
2812
  },
2801
2813
  /**
2802
2814
  * Set the session storage name to use undo/redo functionallity.
2815
+ * ```typescript
2816
+ * let chart = new OrgChart('#tree', {
2817
+ * undoRedoStorageName: 'myStorageName',
2818
+ * });
2819
+ * ```
2803
2820
  */
2804
2821
  undoRedoStorageName?: string,
2822
+
2805
2823
  /**
2806
2824
  * Configure the buildin edit form.
2807
2825
  * ```typescript