chore: remove deprecated inputFieldType (#41239)

chore: remove deprecated inputFieldType
This commit is contained in:
Milan Burda
2024-02-26 13:47:16 +01:00
committed by GitHub
parent 3394ee71f0
commit 3885011220
5 changed files with 11 additions and 57 deletions

View File

@@ -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