@balkangraph/orgchart.js 8.14.59 → 8.14.61
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 -2
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -2251,7 +2251,7 @@ declare namespace OrgChart {
|
|
|
2251
2251
|
* ```
|
|
2252
2252
|
* ```typescript
|
|
2253
2253
|
* var chart = new OrgChart('#tree', {
|
|
2254
|
-
* orderBy: {field: "orderId", desc: true},
|
|
2254
|
+
* orderBy: [{field: "orderId", desc: true}],
|
|
2255
2255
|
* nodes: [
|
|
2256
2256
|
* { id: 10, pid: 1, orderId: 2 },
|
|
2257
2257
|
* { id: 11, pid: 1, orderId: 1 }
|
|
@@ -2259,7 +2259,7 @@ declare namespace OrgChart {
|
|
|
2259
2259
|
* });
|
|
2260
2260
|
* ```
|
|
2261
2261
|
*/
|
|
2262
|
-
orderBy?: string | Array<OrgChart.orderBy>,
|
|
2262
|
+
orderBy?: string | Array<string> | OrgChart.orderBy | Array<OrgChart.orderBy>,
|
|
2263
2263
|
/**
|
|
2264
2264
|
* Filter the OrgChart by the specified fields.
|
|
2265
2265
|
* ```typescript
|