mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
chore: remove deprecated inputFieldType (#41239)
chore: remove deprecated inputFieldType
This commit is contained in:
@@ -1319,6 +1319,11 @@ win4.webContents.on('scroll-touch-end', () => {});
|
||||
// @ts-expect-error Removed API
|
||||
win4.webContents.on('crashed', () => {});
|
||||
|
||||
win4.webContents.on('context-menu', (event, params) => {
|
||||
// @ts-expect-error Removed API
|
||||
console.log(params.inputFieldType);
|
||||
});
|
||||
|
||||
// TouchBar
|
||||
// https://github.com/electron/electron/blob/main/docs/api/touch-bar.md
|
||||
|
||||
|
||||
Reference in New Issue
Block a user