@msobiecki/react-marauders-path 1.19.0 → 1.20.0
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/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -171,7 +171,7 @@ interface UseWheelOptions {
|
|
|
171
171
|
}
|
|
172
172
|
```
|
|
173
173
|
|
|
174
|
-
**
|
|
174
|
+
**Wheel Data:**
|
|
175
175
|
|
|
176
176
|
```typescript
|
|
177
177
|
interface WheelData {
|
|
@@ -235,6 +235,7 @@ interface UseDragOptions {
|
|
|
235
235
|
eventStopImmediatePropagation?: boolean; // Default: false
|
|
236
236
|
threshold?: number; // Default: 0 (px) - Minimum drag distance
|
|
237
237
|
container?: RefObject<HTMLElement>; // Default: window
|
|
238
|
+
raf?: boolean; // Default: false - Use requestAnimationFrame for batching
|
|
238
239
|
}
|
|
239
240
|
```
|
|
240
241
|
|