@wailsio/runtime 3.0.0-alpha.71 → 3.0.0-alpha.72
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/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35,4 +35,8 @@ export { Create };
|
|
|
35
35
|
export * from "./cancellable.js";
|
|
36
36
|
// Notify backend
|
|
37
37
|
window._wails.invoke = System.invoke;
|
|
38
|
+
// Register platform handlers (internal API)
|
|
39
|
+
// Note: Window is the thisWindow instance (default export from window.ts)
|
|
40
|
+
// Binding ensures 'this' correctly refers to the current window instance
|
|
41
|
+
window._wails.handlePlatformFileDrop = Window.HandlePlatformFileDrop.bind(Window);
|
|
38
42
|
System.invoke("wails:runtime:ready");
|