[annotator-dev] Subscribing to Annotator events from another application
tilgovi at hypothes.is
Tue Aug 14 20:14:27 UTC 2012
You can subscribe by calling the subscribe method on the Annotator instance.
The event methods come from the Delegator prototype in
On Aug 14, 2012 9:18 AM, "Jamie M Folsom" <jfolsom at mit.edu> wrote:
> Hi All,
> I've got a backbone.js-based list of annotations on an Annotator-enabled
> page. I want to listen for Annotator events (annotationsLoaded,
> annotationCreated, etc) from that (non-Annotator-aware) list, and update it
> How would I go about subscribing to those events? Do I have to create an
> Annotator plugin to interfaces with the backbone app (the Annotator docs
> would suggest that a plugin is needed to subscribe to events), or can I
> subscribe to them directly from the backbone app?
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the annotator-dev