mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 13:19:00 -07:00
Remove old Event methods
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@wails/runtime",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "Wails V2 Javascript runtime library",
|
||||
"main": "main.js",
|
||||
"types": "runtime.d.ts",
|
||||
|
||||
2
v2/internal/runtime/js/runtime/runtime.d.ts
vendored
2
v2/internal/runtime/js/runtime/runtime.d.ts
vendored
@@ -21,9 +21,7 @@ declare const wailsapp__runtime: {
|
||||
OpenURL(url: string): Promise<any>;
|
||||
};
|
||||
Events: {
|
||||
Acknowledge(eventName: string): void;
|
||||
Emit(eventName: string, data?: any): void;
|
||||
Heartbeat(eventName: string, timeInMilliseconds: number, callback: () => void): void;
|
||||
On(eventName: string, callback: (data?: any) => void): void;
|
||||
OnMultiple(eventName: string, callback: (data?: any) => void, maxCallbacks: number): void;
|
||||
Once(eventName: string, callback: (data?: any) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user