webview_init

Function webview_init 

Source
pub unsafe extern "C" fn webview_init(
    w: webview_t,
    js: *const c_char,
) -> webview_error_t
Expand description

Injects JavaScript code to be executed immediately upon loading a page. The code will be executed before @c window.onload.

@param w The webview instance. @param js JS content.