node-native-win-utils 1.0.0 → 1.0.1
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 +6 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,21 +94,14 @@ listener.on("keyUp", (data) => {
|
|
|
94
94
|
|
|
95
95
|
## Functions
|
|
96
96
|
|
|
97
|
-
| Function
|
|
98
|
-
|
|
97
|
+
| Function | Parameters | Return Type |
|
|
99
98
|
| -------------- | --------------------------------------------------------------------------------------- | ---------------------- |
|
|
100
|
-
|
|
101
|
-
|
|
|
102
|
-
|
|
103
|
-
|
|
|
104
|
-
|
|
105
|
-
| getWindowData | `windowName: string` | `WindowData` |
|
|
106
|
-
|
|
107
|
-
| captureWindow | `windowName: string, outputPath: string` | `void` |
|
|
108
|
-
|
|
99
|
+
| keyDownHandler | `callback: (keyCode: number) => void` | `void` |
|
|
100
|
+
| keyUpHandler | `callback: (keyCode: number) => void` | `void` |
|
|
101
|
+
| getWindowData | `windowName: string` | `WindowData` |
|
|
102
|
+
| captureWindow | `windowName: string, outputPath: string` | `void` |
|
|
109
103
|
| KeyListener.on | `event: "keyDown"`,<br>`callback: (data: { keyCode: number; keyName: string }) => void` | `this` (EventListener) |
|
|
110
|
-
|
|
111
|
-
| KeyListener.on | `event: "keyUp"`,<br>`callback: (data: { keyCode: number; keyName: string }) => void` | `this` (EventListener) |
|
|
104
|
+
| KeyListener.on | `event: "keyUp"`,<br>`callback: (data: { keyCode: number; keyName: string }) => void` | `this` (EventListener) |
|
|
112
105
|
|
|
113
106
|
## Examples
|
|
114
107
|
|