Replies: 2 comments 2 replies
-
You can check this class, which dispatches events for the viewer's find bar. |
Beta Was this translation helpful? Give feedback.
2 replies
-
_offset doesn't seem to give an absolute result, just a relative index to
the current page
[image: image.png]
For what it seems, I would need to do something like get selected.matchIdx
and add to the size of all idx from 0 to the current selected.pageIdx in
pageMatchesLength, but it surprises me that there is no simpler way to do it
…On Tue, 13 Aug 2024 at 08:09, Nicolò Ribaudo ***@***.***> wrote:
It's through the private _offset property in PDFFindController.
—
Reply to this email directly, view it on GitHub
<#18599 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGBHWXDXEFQGCN4DWDHEASTZRGPKXAVCNFSM6AAAAABML73LGKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZSGE3DOMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Vicente Sampedro Burgos*
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've managed to integrate pdfjs using the simple viewer example, but now I'm at a lose on how to navigate the results, calling the find again only resets the search, using the findcontroller doesn't seem to help.
I've tried to understand the web "example", it creates some events that dispatch events like "again", but I don't have any idea what are those events, how are they defined, I've tried to feed them to the eventBus with no luck.
Beta Was this translation helpful? Give feedback.
All reactions