<webview>
タグ
警告
Electron の webview
タグは Chromium の webview
に基づきつつ、劇的に変更されています。 これはレンダリング、ナビゲーション、イベントルーティングを含む webview
の安定性に影響しています。 We currently recommend to not use the webview
tag and to consider alternatives, like iframe
, a WebContentsView
, or an architecture that avoids embedded content altogether.
有効にする
既定では webview
タグは Electron >= 5 では無効化されています。 タグを有効にするには、BrowserWindow
を構築するときに webviewTag
webPreferences オプションを設定します。 詳しい情報については、BrowserWindow コンストラクタ を参照してください。
概要
分離したフレームとプロセスに外部ウェブコンテンツを表示します。