@balkangraph/orgchart.js 8.16.4 → 8.16.6
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 +20 -3
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -2848,14 +2848,31 @@ declare namespace OrgChart {
|
|
|
2848
2848
|
* ```
|
|
2849
2849
|
*/
|
|
2850
2850
|
on(type: "update" | "add-item" | "add-filter" | "show-items" , listener: (sender: filterUI, args: any, args1: any, args2: any) => void | boolean): filterUI;
|
|
2851
|
+
|
|
2852
|
+
/**
|
|
2853
|
+
* Contains all filters
|
|
2854
|
+
* ```typescript
|
|
2855
|
+
* let chart = new OrgChart("#tree", {
|
|
2856
|
+
* });
|
|
2857
|
+
* chart.onInit(() => {
|
|
2858
|
+
* let filterBy = chart.filterUI.filterBy
|
|
2859
|
+
* }
|
|
2860
|
+
* chart.load(nodes)
|
|
2861
|
+
* ```
|
|
2862
|
+
*/
|
|
2851
2863
|
filterBy?: any;
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* @ignore
|
|
2867
|
+
*/
|
|
2852
2868
|
element: HTMLElement;
|
|
2869
|
+
|
|
2870
|
+
/**
|
|
2871
|
+
* @ignore
|
|
2872
|
+
*/
|
|
2853
2873
|
instance: OrgChart;
|
|
2854
2874
|
}
|
|
2855
2875
|
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
2876
|
interface xScrollUI {
|
|
2860
2877
|
addListener(svg: HTMLElement): void;
|
|
2861
2878
|
create(width: number): void;
|