docs: make corrections for BrowserViews since it is deprecated (#42083)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Peter Xu <sysu.peter.hsu@gmail.com>
This commit is contained in:
trop[bot] 2024-05-08 13:09:36 +02:00 committed by GitHub
parent 65e87cb8a4
commit 376cdfaa05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@
If you want to embed (third-party) web content in an Electron `BrowserWindow`, If you want to embed (third-party) web content in an Electron `BrowserWindow`,
there are three options available to you: `<iframe>` tags, `<webview>` tags, there are three options available to you: `<iframe>` tags, `<webview>` tags,
and `BrowserViews`. Each one offers slightly different functionality and is and `WebContentsView`. Each one offers slightly different functionality and is
useful in different situations. To help you choose between these, this guide useful in different situations. To help you choose between these, this guide
explains the differences and capabilities of each option. explains the differences and capabilities of each option.