[annotator-dev] Updating the current annotations

John Cotton john at dynamicarray.co.uk
Sat Oct 25 01:44:39 UTC 2014


Hi

I'm creating a small plugin that allows thumbs-up style voting on the 
annotations.

The custom data is coming in OK from my storage, but I can't see 
anything in the docs about modifying the client-side values.

I've based my code on this:

   plugin.pluginInit = function () {
       this.annotator.viewer.addField({
         load: function (field, annotation) {
           field.innerHTML = message;
         }
       })
   };

But can't find a way of getting back to that annotation when my voting 
UI catches events.

Any pointers? Thanks.

John





More information about the annotator-dev mailing list