angular-annotorious icon indicating copy to clipboard operation
angular-annotorious copied to clipboard

Use "anno.addAnnotation"

Open rbernardezitteria opened this issue 9 years ago • 3 comments

I am using the function but I do not get it to work. In the original library works. What about you can give an example?

Best regards

rbernardezitteria avatar Nov 03 '16 10:11 rbernardezitteria

Take a look at the last comment of: https://github.com/igorlino/angular-annotorious/issues/8

igorlino avatar Nov 04 '16 12:11 igorlino

I try to run annotoriousService.AddAnnotation(myAnnotationObject) by following the api, your answers in the issue tracker but I still cannot see the result in the screen.

I try to add an annotation either when the controller loads or when the page loads but there is no difference. Also, I have used makeAnnotable but no result.

So, if you have time please give an example (or put it to demo) on how someone can dynamically could generate a annotation.

P.S: Very helpful module by the way.

gtopsis avatar Mar 09 '17 09:03 gtopsis

I think all need information is already documented.

The only think is that you need a storage provider

  1. https://github.com/igorlino/angular-annotorious#using-the-angular-annotarious-service
  2. http://stackoverflow.com/questions/30720798/how-to-use-annotorious-with-angular
  3. https://github.com/igorlino/angular-annotorious#storage-providers

The demo page is at : http://igorlino.github.io/angular-annotorious/ source of the demo: https://github.com/igorlino/angular-annotorious/tree/master/demo

Hope that helps.

igorlino avatar Mar 17 '17 22:03 igorlino