[annotator-dev] PDFJS / Annotator Integration

Randall Leeds randall at bleeds.info
Wed Jun 1 02:42:50 UTC 2016

Hello, Umesh.

Please see this thread from a couple weeks ago:

On Mon, May 30, 2016 at 2:24 PM Umesh Adtani <adtani at gmail.com> wrote:

> 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
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20160601/776008b2/attachment-0003.html>

More information about the annotator-dev mailing list