@balkangraph/orgchart.js 8.14.102 → 8.14.104

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
@@ -1909,11 +1909,18 @@ declare class OrgChart {
1909
1909
  */
1910
1910
  static MOVE_STEP: number;
1911
1911
  /**
1912
- * @ignore
1912
+ * Set the clink curve value
1913
+ * set to 0 for a straight clicnk
1914
+ * ```typescript
1915
+ * OrgChart.CLINK_CURVE = 1.5;
1916
+ * ```
1913
1917
  */
1914
1918
  static CLINK_CURVE: number;
1915
1919
  /**
1916
- * @ignore
1920
+ * Set the limit of the search result items
1921
+ * ```typescript
1922
+ * OrgChart.SEARCH_RESULT_LIMIT = 5;
1923
+ * ```
1917
1924
  */
1918
1925
  static SEARCH_RESULT_LIMIT: number;
1919
1926
  /**
@@ -1925,8 +1932,12 @@ declare class OrgChart {
1925
1932
  */
1926
1933
  static SCALE_FACTOR: number;
1927
1934
  /**
1928
- * default auto
1929
- * @ignore
1935
+ * Determines when the invisible nodes will become visible.
1936
+ * The number tells on how many free pixel to show nodes
1937
+ * The defaul value is *auto*
1938
+ * ```typescript
1939
+ * OrgChart.LAZY_LOADING_FACTOR = 10;
1940
+ * ```
1930
1941
  */
1931
1942
  static LAZY_LOADING_FACTOR: number | string;
1932
1943
  /**
@@ -2756,13 +2767,14 @@ declare namespace OrgChart {
2756
2767
  mode?: "dark" | "light",
2757
2768
  /**
2758
2769
  * Lazy loading is technique that defers loading of non-critical nodes at page load time. Instead, these non-critical nodes are loaded at the moment of need. Default value - *true*.
2770
+ * The default value is *auto*
2759
2771
  * ```typescript
2760
2772
  * var chart = new OrgChart('#tree', {
2761
2773
  * lazyLoading: false
2762
2774
  * });
2763
2775
  * ```
2764
2776
  */
2765
- lazyLoading?: boolean,
2777
+ lazyLoading?: boolean | string,
2766
2778
 
2767
2779
 
2768
2780