WebViewer Version: 8.12
Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? No
Please give a brief summary of your issue:
I wanna know which error triggers the onError callback
Please describe your issue and provide steps to reproduce it:
Using the documentation implement a logic to generate a text search in a document, that shows each of the matches and that the searched text is highlighted. Using the method textSearchInit I pass as arguments the necessary callbacks (as shown in the documentation) including onError. I am doing a state handling when each of these callbacks is fired. The only one that is not working is the onError one, that state is never presented. My question is, when no matches of the searched word are found within the text is considered as an error? or the onError callback is executed for other reasons?
Thank you.
Kind regards,
Emiliano Pintos
Please provide a link to a minimal sample where the issue is reproducible: