src_js/iconolab-bundle/src/components/editor/mixins/save.js
author ymh <ymh.work@gmail.com>
Thu, 02 Aug 2018 16:15:39 +0200
changeset 593 f8310b7ddef0
parent 320 81945eedc63f
permissions -rw-r--r--
Added tag 0.1.10 for changeset a87ffe8e08e5

export default {
    methods: {
        save: function(data) {

            Object.assign(data, {
                fragment: this.toSVGPath()
            });

            this.$parent.$emit('save', data);
        }
    }
}