完整的文本搜索在电子浏览器窗口

时间:2022-09-13 07:56:22

Does the Electron application framework have built-in text search?

电子应用程序框架有内置的文本搜索吗?

The quick-start application doesn't provide any apparent search functionality (e.g. using Ctrl-F or from the menu options). I would have expected this to be a BrowserWindow option (or an option of its WebContents), but I don't see anything helpful in the docs.

快速启动应用程序不提供任何明显的搜索功能(例如使用Ctrl-F或从菜单选项)。我本以为这是一个BrowserWindow选项(或者是它的WebContents选项),但我在文档中没有看到任何有用的东西。

1 个解决方案

#1


3  

Try webContents.findInPage just added in the latest version.

webcontent试试。findInPage刚刚添加了最新版本。

#1


3  

Try webContents.findInPage just added in the latest version.

webcontent试试。findInPage刚刚添加了最新版本。