I am having trouble finding an exposed event in the Document Preview that would cue my code that the document has been entirely rendered - i.e., all the pages or at least the first page has rendered to the DOM so further work can be done in the DOM. The 'load' event seems to fire quite early - sometime after the viewer container is rendered but before the contained document is rendered. The 'pagefocus' event seems to work as expected, except on the first page. When a document renders, it always focuses in on whatever page was previously viewed, but 'pagefocus' doesn't catch this event. The 'pagerendered' event doesn't seem to get kicked off at all. So I actually need to write a nasty poll to wait for the document to be loaded in the previewer? Currently, if I use the 'load' event, my code doesn't find any DOM elements for the document and does nothing.
Question
Document Preview Events
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.