Crate freya_webview

Crate freya_webview 

Source
Expand description

WebView support for Freya using WRY.

This crate provides WebView integration for Freya applications using the WRY library. WebViews can be embedded in your Freya UI as regular elements.

§Example

use freya::prelude::*;
use freya_webview::prelude::*;

fn main() {
    launch(
        LaunchConfig::new()
            .with_plugin(WebViewPlugin::new())
            .with_window(WindowConfig::new(app)),
    )
}

fn app() -> impl IntoElement {
    WebView::new("https://example.com").expanded()
}

Modules§

component
lifecycle
plugin
WebView plugin for managing WRY WebViews.
prelude
Prelude module for convenient imports.
registry
WebView types and configuration.