美文网首页
pdf.js支持全文搜索

pdf.js支持全文搜索

作者: 飞将军 | 来源:发表于2015-01-07 20:38 被阅读196次

在github上看到这篇文章

PDFFindBar.open(); //optional if you want to show the search bar
PDFFindBar.findField.value = 'your search term';
PDFFindBar.highlightAll.checked= true;
PDFFindBar.findNextButton.click();

看起来是看可以的, 但还没有在项目中测试! 明天试一试把.

相关文章

网友评论

      本文标题:pdf.js支持全文搜索

      本文链接:https://www.haomeiwen.com/subject/arlxxttx.html