Skip to main content

Module webview

Module webview 

Source
Expand description

Embedded browser chrome from webview.css: page tabs, back and forward, an address bar with a security indicator, the frame, and a load-error overlay.

Chrome, not a browser: it never reads or mediates the embedded page, which a cross-origin frame forbids anyway. History is the control’s own, since a frame’s cross-origin history is out of reach.

Re-exports§

pub use Webview_completions::Component::Webview;

Structs§

WebviewProps
Properties for the Webview component.

Enums§

WebviewState
Where the frame is in loading its page.

Functions§

Webview
Embedded browser chrome around a sandboxed frame. Changing src navigates; so does the address bar, after frame_url refuses unsafe schemes. With tabs, a tab list sits above the toolbar and reports choices through ontab.