webview_init

Function webview_init 

Source
pub unsafe extern "C" fn webview_init(
    w: *mut c_void,
    js: *const i8,
) -> i32
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.