--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src_js/iconolab-bundle/src/components/editor/Annotation.vue Wed Feb 15 16:42:06 2017 +0100
@@ -0,0 +1,27 @@
+<script>
+
+ export default {
+ props: [
+ 'title',
+ 'description',
+ 'fragment',
+ 'tags'
+ ],
+ mounted() {
+
+ var tags = [];
+ if (this.tags) {
+ tags = JSON.parse(this.tags);
+ }
+
+ this.$parent.setAnnotation({
+ title: this.title,
+ description: this.description,
+ fragment: this.fragment,
+ tags: tags
+ });
+ },
+ render: function(createElement) {}
+ }
+
+</script>