Skip to main content

builder

Function builder 

Source
pub fn builder<'a>(
    app: &'a AppHandle<Wry>,
    label: &str,
    url: WebviewUrl,
) -> WebviewWindowBuilder<'a, Wry, AppHandle<Wry>>
Expand description

A WebviewWindowBuilder carrying the shell policy: popup handling through crate::nav, frameless chrome when the shell was configured for it, hidden until restored/shown. Navigation, init scripts and native hardening come from the shell plugin for every webview.