@balkangraph/orgchart.js 8.15.15 → 8.15.16

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
@@ -3275,8 +3275,31 @@ declare namespace OrgChart {
3275
3275
  */
3276
3276
  collapse,
3277
3277
 
3278
-
3278
+ /**
3279
+ * OrgChart.action.exporting = 14;
3280
+ * ```typescript
3281
+ * let chart = new OrgChart('#tree', {
3282
+ * });
3283
+ * chart.on("field", function (sender, args) {
3284
+ * if (sender.manager.action == OrgChart.action.exporting) {
3285
+ * args.value = "hidden";
3286
+ * }
3287
+ * });
3288
+ * chart.load(nodes)
3289
+ * ```
3290
+ */
3279
3291
  exporting,
3292
+
3293
+ /**
3294
+ * Reload/Initialize the chart
3295
+ * OrgChart.action.init = 6;
3296
+ * ```typescript
3297
+ * document.getElementById("btn").addEventListener("click", function () {
3298
+ * chart.add({ id: 4, pid: 2, name: "Elliot Patel", title: "Sales" });
3299
+ * chart.draw(OrgChart.action.init);
3300
+ * });
3301
+ * ```
3302
+ */
3280
3303
  init,
3281
3304
 
3282
3305
  /**