<script>
import Moveable from "vue-moveable";

export default {
    components: { Moveable },
    data() {
        return {};
    },
    methods: { onDrag(e) {
        e.target.style.transform = e.transform;
    } }
};
</script>
<template>
    <div class="no-container">
        <div class="will-change-container">
            <div class="will-change-target">Target1</div>
        </div>
        <Moveable
            :target="'.will-change-target'"
            :draggable="true"
            :preventClickDefault="true"
            @drag="onDrag"/>
    </div>
</template>