@balkangraph/orgchart.js 8.2.71 → 8.2.74
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 +14 -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
|
/**
|
|
@@ -737,6 +746,11 @@ declare class OrgChart extends OrgChartBase {
|
|
|
737
746
|
* @ignore
|
|
738
747
|
*/
|
|
739
748
|
static LAZY_LOADING_FACTOR: number;
|
|
749
|
+
/**
|
|
750
|
+
* Can be used to instruct the browser to defer loading of OrgChart that are off-screen until the user scrolls near them.
|
|
751
|
+
* The init event listener will be called as soon as the OrgChart become visible.
|
|
752
|
+
*/
|
|
753
|
+
static LAZY_LOADING: boolean;
|
|
740
754
|
|
|
741
755
|
/**
|
|
742
756
|
* Hides the Edit Form when the chart is moved with pan
|