[annotator-dev] PDFJS / Annotator Integration
Umesh Adtani
adtani at gmail.com
Mon May 30 21:24:42 UTC 2016
Hi all,
I am trying to annotate PDF documents that are rendered using PDFJS.
I have gotten it working but it only works on the pages that are already
rendered when Annotator is initialized with plugins. The PDFJS has
capability to lazy-render the pages (i.e., when user scrolls to them), and
I need to find a way to 're-apply' the annotations when the specific page
actually gets rendered.
There is event/callback available when each page gets rendered, I would
like to know what would be best way to reapply the annotations at that
point instead of reinitializing the annotator again and again (which errors
out saying plugins are already loaded, can't be registered again).
I surfed through the documentation but couldn't find a way to reapply
annotations on the "just rendered" page.
Thanks, Warm regards,
Umesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20160531/f4197b69/attachment-0003.html>
More information about the annotator-dev
mailing list