Skip to content

Commit

Permalink
docs: reference the webviewTag option in the webview docs (#16879)
Browse files Browse the repository at this point in the history
Closes #16773

Notes: Add a reference to the "webviewTag" option in the webview docs
  • Loading branch information
MarshallOfSound authored and John Kleinschmidt committed Feb 11, 2019
1 parent ccc60a1 commit 5301808
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/api/webview-tag.md
Expand Up @@ -8,6 +8,12 @@ including rendering, navigation, and event routing. We currently recommend to no
use the `webview` tag and to consider alternatives, like `iframe`, Electron's `BrowserView`,
or an architecture that avoids embedded content altogether.

## Enabling

By default the `webview` tag is disabled in Electron >= 5. You need to enable the tag by
setting the `webviewTag` webPreferences option when constructing your `BrowserWindow`. For
more information see the [BrowserWindow constructor docs](browser-window.md).

## Overview

> Display external web content in an isolated frame and process.
Expand Down

0 comments on commit 5301808

Please sign in to comment.