HTML5 WebViewer Text search

18 views
Skip to first unread message

Pierre-Yves Gicquel

unread,
Feb 9, 2015, 5:39:15 AM2/9/15
to pdfne...@googlegroups.com
Dear PDFTron team,

I am trying to set up a nicer search interface in my project. The idea would
be to display a modal when there is no search result (instead of the default alert "end of document").
To that end, I am trying to use TextSearchInit :

The problem is that when there are no result, it seems that the callback function is not called.
So would you have an idea how to detect the absence of results in a search?

Best regards,
PY
Reply all
Reply to author
Forward
0 new messages