@balkangraph/orgchart.js 8.2.71 → 8.2.72
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 +9 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -326,6 +326,15 @@ declare class OrgChart extends OrgChartBase {
|
|
|
326
326
|
* @param callback called when the animation completes
|
|
327
327
|
*/
|
|
328
328
|
zoom(delta: boolean | number, center?: Array<number>, shouldAnimate?: boolean, callback?: () => void): void;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Magnify(Zoom in) specific node in the chart.
|
|
332
|
+
* @param id id of the node
|
|
333
|
+
* @param scale scale to magnify
|
|
334
|
+
* @param front show on front or back
|
|
335
|
+
* @param anim animation type
|
|
336
|
+
*/
|
|
337
|
+
magnify(id: string | number, scale: number, front?: boolean, anim?: OrgChart.anim | null, callback?: () => void): void;
|
|
329
338
|
|
|
330
339
|
|
|
331
340
|
/**
|