@balkangraph/orgchart.js 8.0.14 → 8.0.18

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
@@ -1759,13 +1759,13 @@ Code example:
1759
1759
  getNode(id: string | number): NodeModel;
1760
1760
 
1761
1761
  /**
1762
- * Maximize the node.
1762
+ * Maximize the node. Without parameters maximize all nodes.
1763
1763
  *
1764
1764
  Signature:
1765
1765
  * ```
1766
1766
  * chart.maximize(id, horizontalCenter, verticalCenter, callback);
1767
1767
  * ```
1768
- * @param id - the id of the node
1768
+ * @param id - (optional) the id of the node
1769
1769
  * @param horizontalCenter - (optional) center horizontally (true,false)
1770
1770
  * @param verticalCenter - (optional) center vertically (true,false)
1771
1771
  * @param callback - (optional) callback function is called when the animation completes
@@ -1775,16 +1775,16 @@ Code example:
1775
1775
  * chart.maximize(5);
1776
1776
  * ```
1777
1777
  */
1778
- maximize(id: string | number, horizontalCenter?: boolean, verticalCenter?: boolean, callback?: Function) : void;
1778
+ maximize(id?: string | number, horizontalCenter?: boolean, verticalCenter?: boolean, callback?: Function) : void;
1779
1779
 
1780
1780
  /**
1781
- * Minimize the node.
1781
+ * Minimize the node. Without parameters minimize all nodes.
1782
1782
  *
1783
1783
  Signature:
1784
1784
  * ```
1785
1785
  * chart.minimize(id, callback);
1786
1786
  * ```
1787
- * @param id - the id of the node
1787
+ * @param id - (optional) the id of the node
1788
1788
  * @param callback - (optional) callback function is called when the animation completes
1789
1789
  *
1790
1790
  Code example:
@@ -1792,7 +1792,7 @@ Code example:
1792
1792
  * chart.minimize(5);
1793
1793
  * ```
1794
1794
  */
1795
- minimize(id: string | number, callback?: Function) : void;
1795
+ minimize(id?: string | number, callback?: Function) : void;
1796
1796
 
1797
1797
  /**
1798
1798
  * Set orientation.
@@ -1991,5 +1991,6 @@ Code example:
1991
1991
  */
1992
1992
  exportPNGProfile(options: Object, callback?: Function) : void;
1993
1993
 
1994
-
1994
+ t(templateName: string) : any;
1995
+
1995
1996
  }export default OrgChart