src_js/iconolab-bundle/src/components/editor/mixins/save.js
changeset 320 81945eedc63f
equal deleted inserted replaced
319:bca3e4b1d0f1 320:81945eedc63f
       
     1 export default {
       
     2     methods: {
       
     3         save: function(data) {
       
     4 
       
     5             Object.assign(data, {
       
     6                 fragment: this.toSVGPath()
       
     7             });
       
     8 
       
     9             this.$parent.$emit('save', data);
       
    10         }
       
    11     }
       
    12 }