@worktile/gantt 15.1.0-next.10 → 15.1.0-next.11
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/components/bar/bar-drag.d.ts +3 -0
- package/esm2020/components/bar/bar-drag.mjs +12 -6
- package/esm2020/utils/drag-scroll.mjs +20 -1
- package/fesm2015/worktile-gantt.mjs +29 -4
- package/fesm2015/worktile-gantt.mjs.map +1 -1
- package/fesm2020/worktile-gantt.mjs +29 -4
- package/fesm2020/worktile-gantt.mjs.map +1 -1
- package/package.json +1 -1
- package/utils/drag-scroll.d.ts +7 -0
package/package.json
CHANGED
package/utils/drag-scroll.d.ts
CHANGED
|
@@ -18,3 +18,10 @@ export declare function getHorizontalScrollDirection(clientRect: DOMRect, pointe
|
|
|
18
18
|
* @param pointerY Coordinates along the Y axis.
|
|
19
19
|
*/
|
|
20
20
|
export declare function isPointerNearClientRect(rect: DOMRect, threshold: number, pointerX: number, pointerY: number): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Gets the speed rate of auto scrolling
|
|
23
|
+
* @param clientRect Dimensions of the node.
|
|
24
|
+
* @param pointerX Position of the user's pointer along the x axis.
|
|
25
|
+
* @param horizontalScrollDirection The direction in which the mouse is dragged horizontally
|
|
26
|
+
*/
|
|
27
|
+
export declare function getAutoScrollSpeedRates(clientRect: DOMRect, pointerX: number, horizontalScrollDirection: AutoScrollHorizontalDirection): number;
|