WebView.bind

Binds a native C callback so that it will appear under the given name as a global JavaScript function. Internally it uses webview_init(). Callback receives a request string and a user-provided argument pointer. Request string is a JSON array of all the arguments passed to the JavaScript function.

class WebView
void
bind
(
const char* name
,
void function
(
const char*
,
void*
)
fn
,
void* arg
)

Meta