Skip to main content
Module

x/webview/mod.ts>Webview#return

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
Go to Latest
method Webview.prototype.return
import { Webview } from "https://deno.land/x/webview@0.7.5/mod.ts";

Returns a value to the webview JavaScript environment.

Parameters

seq: string

The request pointer as provided by the Webview.bindRaw callback

status: number

If status is zero the result is expected to be a valid JSON result value otherwise the result is an error JSON object

result: string

The stringified JSON response