Skip to content

Commit

Permalink
docs: add <webview> new-window event removal to breaking-changes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Burda committed Jan 21, 2023
1 parent cdb65c1 commit e87dafc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/breaking-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@ webContents.setWindowOpenHandler((details) => {
})
```

### Removed: `<webview>` `new-window` event

The `new-window` event of `<webview>` has been removed. There is no direct replacement.

```js
// Removed in Electron 22
webview.addEventListener('new-window', (event) => {})
```

### Deprecated: BrowserWindow `scroll-touch-*` events

The `scroll-touch-begin`, `scroll-touch-end` and `scroll-touch-edge` events on
Expand Down

0 comments on commit e87dafc

Please sign in to comment.