@balkangraph/orgchart.js 8.15.17 → 8.15.18
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 +29 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -3189,10 +3189,39 @@ declare namespace OrgChart {
|
|
|
3189
3189
|
grid
|
|
3190
3190
|
}
|
|
3191
3191
|
|
|
3192
|
+
/**
|
|
3193
|
+
* Specifies the alignment of the nodes inside OrgChart JS
|
|
3194
|
+
*/
|
|
3192
3195
|
enum align {
|
|
3196
|
+
|
|
3197
|
+
/**
|
|
3198
|
+
* Centered
|
|
3199
|
+
* ```typescript
|
|
3200
|
+
* var chart = new OrgChart('#tree', {
|
|
3201
|
+
* align: OrgChart.align.center
|
|
3202
|
+
* });
|
|
3203
|
+
* ```
|
|
3204
|
+
*/
|
|
3193
3205
|
center,
|
|
3206
|
+
|
|
3207
|
+
/**
|
|
3208
|
+
* According to the orientation option
|
|
3209
|
+
* ```typescript
|
|
3210
|
+
* let chart = new OrgChart('#tree', {
|
|
3211
|
+
* align: OrgChart.align.orientation
|
|
3212
|
+
* });
|
|
3213
|
+
* ```
|
|
3214
|
+
*/
|
|
3194
3215
|
orientation
|
|
3195
3216
|
}
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* Animations for the transition of the nodes
|
|
3220
|
+
* ```typescript
|
|
3221
|
+
* let chart = new OrgChart('#tree', {
|
|
3222
|
+
* anim: {func: OrgChart.anim.outBack, duration: 500}
|
|
3223
|
+
* });
|
|
3224
|
+
*/
|
|
3196
3225
|
enum anim {
|
|
3197
3226
|
inPow,
|
|
3198
3227
|
outPow,
|