-
-
Notifications
You must be signed in to change notification settings - Fork 4
Make this library standalone #41
The main goal is to find a solution that gives a possibility to remove annoying copying the PDF.js release.
Thats really weird and I believe it can be much better)
Web components should be portable and easy to use.
That means that the component will be deeply reworked soon.
I'll try to keep all main functions if possible...
But anyway it's important for me to receive a feedback from people who using this.
Which features are the most important for you?
Maybe some ideas how improve the component?
All reactions
Replies: 2 comments
Honestly I was looking for a HTML element that I can put in my code with a PDF url and then the user gets a viewer lol.
What would be sick too if I got highlighting of relevant text (array of strings / regex to match) and the page to scroll to / thing to highlight. That's really useful for RAG applications.
All reactions
@janwirth
New version is available - https://github.com/alekswebnet/pdfjs-viewer-element/releases/tag/v3.0.2
Seems like will work for your case)
You could try to use search attribute for highlighting text, also you can expeirement with viewerApp like this: https://github.com/alekswebnet/pdfjs-viewer-element/blob/master/demo/opened-findbar.html
All reactions
-
❤️ 1