src_js/iconolab-bundle/src/components/editor/mixins/save.js
author duong tam kien <tk@deveha.com>
Thu, 11 May 2017 15:45:08 +0200
changeset 501 fc3df41fb607
parent 320 81945eedc63f
permissions -rw-r--r--
adds wireframes to the repo (11.05.2017)

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

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

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