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()
}