@balkangraph/orgchart.js 8.9.32 → 8.9.34

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
@@ -1044,6 +1044,7 @@ declare namespace OrgChart {
1044
1044
  * @param avatarUrl avatar url
1045
1045
  */
1046
1046
  setAvatar(avatarUrl?: string): void;
1047
+ static renderHeaderContent(title: string, photo: string, node: OrgChart.node, data: object): string;
1047
1048
  }
1048
1049
 
1049
1050
  interface searchUI {
@@ -1366,6 +1367,16 @@ declare namespace OrgChart {
1366
1367
  * ```
1367
1368
  */
1368
1369
  enableSearch?: boolean,
1370
+
1371
+ /**
1372
+ * You can disable chart pan. Default value - *true*.
1373
+ * ```typescript
1374
+ * var chart = new OrgChart('#tree', {
1375
+ * enablePan: false
1376
+ * });
1377
+ * ```
1378
+ */
1379
+ enablePan?: boolean,
1369
1380
 
1370
1381
  /**
1371
1382
  * Enable touch instead of mouse for particular devices with touchscreen/touchpad/trackpad. Default value - *false*.
@@ -1375,6 +1386,7 @@ declare namespace OrgChart {
1375
1386
  * });
1376
1387
  * ```
1377
1388
  */
1389
+
1378
1390
  enableTouch?: boolean,
1379
1391
  /**
1380
1392
  * Enable keyboard navigation. Use "f" for find, arrows and space to navigate in the chart. Default value - *false*.