Expand description
A platform webview hosted in a gpui window.
The page is a native view (WKWebView on macOS, WebView2 on Windows) above
gpui’s own surface, not pixels gpui paints. gpui paints under it, and gpui’s content masks do not clip it. On the web
build, [Frame] is an <iframe> above the canvas, under the same limits.
Structs§
- Console
Message - One
consolecall, uncaught error or unhandled rejection in the page. - Data
Store - Where a page keeps its cookies, storage and cache.
- Usage
- What a
DataStoreholds. - WebView
- A webview showing one page.
Enums§
- Console
Level - The
consolemethod aConsoleMessagecame from. Uncaught errors and unhandled rejections areError. - Eval
Error - Why
WebView::evalhas no value. - Load
State - WebView
Event - What the page reports about itself.