[annotator-dev] beforeAnnotationsLoaded event

Randall Leeds tilgovi at hypothes.is
Wed Dec 18 20:14:55 UTC 2013


You can customize the Store plugin to load from your backend, if it's just
a matter of configuration.
https://github.com/okfn/annotator/wiki/Store-Plugin

I would like to know how you would use a beforeAnnotationsLoaded event, in
case there's another way the use case should be supported.


On Tue, Dec 17, 2013 at 12:38 PM, Riccardo Tasso
<riccardo.tasso at gmail.com>wrote:

> Since I'm not fluent in coffeescript, I understood that for the
> creation/update/delete I should register for the corresponding events in my
> plugin.
>
>
> What should I do to make my plugin load the annotation list from my own
> backend?
>
>
> Thanks,
>
>    Riccardo
>
>
> Il 17/dic/2013 20:31 "Randall Leeds" <tilgovi at hypothes.is> ha scritto:
>
>> No. There is no such event. You should take care of this transformation
>> in your store plugin. You may need to extend the existing Store plugin to
>> suit your needs.
>>
>>
>>  On Tue, Dec 17, 2013 at 11:07 AM, Riccardo Tasso <
>> riccardo.tasso at gmail.com> wrote:
>>
>>> Hi, does exist an event which holds just after the annotations are
>>> returned by the store?
>>>
>>> My store uses an internal format and I'd like to change its results a
>>> little bit before the annotations are drawn.
>>>
>>> Thanks,
>>>    Riccardo
>>>
>>> _______________________________________________
>>> 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/20131218/b453d518/attachment-0004.html>


More information about the annotator-dev mailing list