diff --git a/examples/api/src/views/Communication.svelte b/examples/api/src/views/Communication.svelte index 5971f6921..cac315d80 100644 --- a/examples/api/src/views/Communication.svelte +++ b/examples/api/src/views/Communication.svelte @@ -66,7 +66,7 @@ } function emitRawEvent() { - webviewWindow.emit('raw-js-event', new Uint8Array([1, 2, 3])) + webviewWindow.emit2('raw-js-event', new Uint8Array([1, 2, 3])) }