Use EasyAnnotation in any of your cordova projects.
cordova plugin add cordova-plugin-easyannotation
Then simply initialize EasyAnnotation..
new easyannotation.AnnotatorContainer(document.querySelector('sample4')); annotation2.show(function(res) { // do more work here });
Integrate with your Vue.js project in just one line of code.
npm install vue-easy-annotation
<easy-annotation src="images/Hallstat.jpg" styles="border-color:red;" format="json" :config="this.config" v-on:save="this.save"></easy-annotation>
Integrate with your Ionic+Angular project in just one line of code.
npm install ionic-easy-annotation
<easyannotation src="/assets/Hallstat.jpg" format="json" [config]="config" (onSave)="onSaveImage($event)"></easyannotation>