@msobiecki/react-marauders-path 1.10.0 → 1.12.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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# react-marauders-path
|
|
2
2
|
|
|
3
|
-

|
|
4
|
-
|
|
5
3
|
A lightweight, type-safe React library for handling keyboard events. Perfect for games, interactive applications, and keyboard-driven interfaces.
|
|
6
4
|
|
|
5
|
+

|
|
6
|
+
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
9
|
- 🎮 **Keyboard Event Handling** - Simple API for detecting single keys, key combinations, and sequences
|
|
@@ -136,9 +136,9 @@ Hook for handling mouse wheel events with support for different delta modes and
|
|
|
136
136
|
|
|
137
137
|
```typescript
|
|
138
138
|
interface UseWheelOptions {
|
|
139
|
-
eventPassive?: boolean; // Default: true
|
|
140
|
-
eventCapture?: boolean; // Default: false
|
|
141
|
-
eventOnce?: boolean; // Default: false
|
|
139
|
+
eventPassive?: boolean; // Default: true
|
|
140
|
+
eventCapture?: boolean; // Default: false
|
|
141
|
+
eventOnce?: boolean; // Default: false
|
|
142
142
|
eventStopImmediatePropagation?: boolean; // Default: false
|
|
143
143
|
container?: RefObject<HTMLElement>; // Default: window
|
|
144
144
|
raf?: boolean; // Default: false - Use requestAnimationFrame for batching
|