[annotator-dev] Data questions

Randall Leeds tilgovi at hypothes.is
Thu Jul 3 01:06:52 UTC 2014


The data is kept in the internals of Annotator currently.

The easiest way to get it is to use the highlights Annotator creates:

$('.annotator-hl')

Will get all the highlight elements.

Calling .data('annotation') will give you the annotation itself.

That is the most straightforward way on the current Annotator.
On Jun 30, 2014 2:54 AM, "Prateek Narendra" <prateek at dronamobile.com> wrote:

>  GET request is sent and the client receives data about annotations on
> the webpage..
> But where is the data stored on the client side? we would like to scroll
> to that part of the webpage using the xpath
>
> _______________________________________________
> 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/20140702/3bcdd8de/attachment.html>


More information about the annotator-dev mailing list