@balkangraph/orgchart.js 8.4.5 → 8.4.8
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 +2 -1
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
declare class OrgChart extends OrgChartBase {
|
|
4
4
|
nodes: { [key in any]: OrgChart.node };
|
|
5
5
|
isVisible: boolean;
|
|
6
|
+
visibleNodeIds: Array<number | string>;
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @param element HTML element or string selector for example '#tree'
|
|
@@ -1829,7 +1830,7 @@ declare namespace OrgChart {
|
|
|
1829
1830
|
* ```
|
|
1830
1831
|
* ```typescript
|
|
1831
1832
|
* var chart = new OrgChart('#tree', {
|
|
1832
|
-
* orderBy:
|
|
1833
|
+
* orderBy: {field: "orderId", desc: true},
|
|
1833
1834
|
* nodes: [
|
|
1834
1835
|
* { id: 10, pid: 1, orderId: 2 },
|
|
1835
1836
|
* { id: 11, pid: 1, orderId: 1 }
|