@balkangraph/orgchart.js 8.13.11 → 8.13.12
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 +7 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -135,6 +135,13 @@ declare class OrgChart extends OrgChartBase {
|
|
|
135
135
|
* @param viewBox
|
|
136
136
|
*/
|
|
137
137
|
getScale(viewBox?: Array<number>): number;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Sets the current scale of the chart.
|
|
141
|
+
* Returns the actual scale limited by scaleMax and scaleMin
|
|
142
|
+
* @param newScale new scale value
|
|
143
|
+
*/
|
|
144
|
+
setScale(newScale: number): number;
|
|
138
145
|
/**
|
|
139
146
|
* Animates specified node with ripple animation - highlight the node.
|
|
140
147
|
* @param id the id of the node
|