@balkangraph/orgchart.js 8.15.21 → 8.15.22
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 +9 -1
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1779,12 +1779,20 @@ declare class OrgChart {
|
|
|
1779
1779
|
|
|
1780
1780
|
|
|
1781
1781
|
/**
|
|
1782
|
+
* You can change the smooth and the speed of the scroll
|
|
1783
|
+
* or you can change the values for any specific browser
|
|
1782
1784
|
* ```typescript
|
|
1785
|
+
* OrgChart.scroll.smooth = 12;
|
|
1786
|
+
* OrgChart.scroll.speed = 120;
|
|
1787
|
+
* OrgChart.scroll.safari = {
|
|
1788
|
+
* smooth: 12,
|
|
1789
|
+
* speed: 500
|
|
1790
|
+
* }
|
|
1783
1791
|
* let chart = new OrgChart(document.getElementById("tree"), {
|
|
1784
1792
|
* ...
|
|
1785
1793
|
* showXScroll: true,
|
|
1786
1794
|
* });
|
|
1787
|
-
* ```
|
|
1795
|
+
* ```
|
|
1788
1796
|
*/
|
|
1789
1797
|
static scroll: {
|
|
1790
1798
|
smooth?: number,
|