Module webview
Expand description
WebView — a leaf widget that displays the live output of a
crate::webview::WebViewEngine and forwards pointer, scroll and
keyboard input into it.
The widget is deliberately chrome-free: address bar, navigation buttons, progress and permission prompts belong to the host app / OS chrome. It paints whatever frame the engine last produced (scaled to its layout rect), shows a neutral placeholder until the first frame arrives, and translates toolkit-space input into engine commands (physical pixels relative to the view’s origin).
Navigation state (URL, title, progress) intentionally does NOT flow
through this widget — the host app drains
crate::webview::WebViewEvents from the engine during sync and
owns that state in its CRDT.
Structs§
- WebView
- See module docs.