@balkangraph/orgchart.js 8.2.72 → 8.2.75
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 -2
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -336,7 +336,6 @@ declare class OrgChart extends OrgChartBase {
|
|
|
336
336
|
*/
|
|
337
337
|
magnify(id: string | number, scale: number, front?: boolean, anim?: OrgChart.anim | null, callback?: () => void): void;
|
|
338
338
|
|
|
339
|
-
|
|
340
339
|
/**
|
|
341
340
|
* The onField() method of the OrgChart class sets up a function that will be called whenever the specified event is delivered to the target.
|
|
342
341
|
* ```typescript
|
|
@@ -601,13 +600,14 @@ declare class OrgChart extends OrgChartBase {
|
|
|
601
600
|
static childrenCount(chart: OrgChart, node: OrgChart.node, count?: number): number;
|
|
602
601
|
static collapsedChildrenCount(chart: OrgChart, node: OrgChart.node, count?: number): number;
|
|
603
602
|
static getRootOf(node: OrgChart.node): OrgChart.node;
|
|
603
|
+
|
|
604
604
|
/**
|
|
605
605
|
* is null, empty or undefined
|
|
606
606
|
* @param val
|
|
607
607
|
*/
|
|
608
608
|
static isNEU(val: any): boolean;
|
|
609
609
|
static gradientCircleForDefs(id: string | number, colors: Array<string> | string, r: number, strokeWidth: number): string;
|
|
610
|
-
|
|
610
|
+
static convertCsvToNodes(text: string) : Array<node>;
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
613
|
* Shows/hides lloading image. Usefull when export large data to pdf. You can override and show your own loading image.
|
|
@@ -746,6 +746,11 @@ declare class OrgChart extends OrgChartBase {
|
|
|
746
746
|
* @ignore
|
|
747
747
|
*/
|
|
748
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;
|
|
749
754
|
|
|
750
755
|
/**
|
|
751
756
|
* Hides the Edit Form when the chart is moved with pan
|