webview_dispatch
Content copied to clipboard
Posts a function to be executed on the main thread.
You normally do not need to call this function, unless you want to tweak the native window.
Parameters
webview
the handle of webview, usually returned by webview_create
fn
the callback