@balkangraph/orgchart.js 8.21.16 → 8.21.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 +25 -1
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -791,6 +791,18 @@ declare class OrgChart {
|
|
|
791
791
|
* @param callback called when the animation completes
|
|
792
792
|
*/
|
|
793
793
|
fit(callback?: () => void): void;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Fits the content to the visible area if it is ouside of the visible area.
|
|
797
|
+
* ```typescript
|
|
798
|
+
* let chart = new OrgChart('#tree', {});
|
|
799
|
+
* ...
|
|
800
|
+
* chart.fitOfOutside();
|
|
801
|
+
* ```
|
|
802
|
+
* @param callback called when the animation completes
|
|
803
|
+
*/
|
|
804
|
+
fitIfOutside(callback?: () => void): void;
|
|
805
|
+
|
|
794
806
|
/**
|
|
795
807
|
* Toggles full screen mode.
|
|
796
808
|
* ```typescript
|
|
@@ -3644,6 +3656,8 @@ declare namespace OrgChart {
|
|
|
3644
3656
|
|
|
3645
3657
|
/**
|
|
3646
3658
|
* Toolbar buttons. Set to true if you'd like to show a button
|
|
3659
|
+
*
|
|
3660
|
+
* For better experiense please use the new feature Controls instead of Toolbars.
|
|
3647
3661
|
*/
|
|
3648
3662
|
interface toolbar {
|
|
3649
3663
|
|
|
@@ -4428,7 +4442,17 @@ declare namespace OrgChart {
|
|
|
4428
4442
|
* });
|
|
4429
4443
|
* ```
|
|
4430
4444
|
*/
|
|
4431
|
-
boundary
|
|
4445
|
+
boundary,
|
|
4446
|
+
|
|
4447
|
+
/**
|
|
4448
|
+
* Match boundary if outside of the visible area
|
|
4449
|
+
* ```typescript
|
|
4450
|
+
* let chart = new OrgChart('#tree', {
|
|
4451
|
+
* scaleInitial: OrgChart.match.boundaryIfOutside
|
|
4452
|
+
* });
|
|
4453
|
+
* ```
|
|
4454
|
+
*/
|
|
4455
|
+
boundaryIfOutside
|
|
4432
4456
|
}
|
|
4433
4457
|
|
|
4434
4458
|
|
package/orgchart.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
1
|
+
/* eslint-disable */
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"8.21.
|
|
1
|
+
{"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"8.21.18"}
|