mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update docs/api/base-window.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
This commit is contained in:
@@ -14,7 +14,7 @@ module is emitted.
|
||||
|
||||
```javascript
|
||||
// In the main process.
|
||||
const { BaseWindow } = require('electron')
|
||||
const { BaseWindow, WebContentsView } = require('electron')
|
||||
|
||||
const win = new BaseWindow({ width: 800, height: 600 })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user