drvue3

1.0.96 • Public • Published

draggable-resizable-vue3

Latest Version on NPM Software License npm

This is Vue 3 (Composition API) library for draggable and resizable elements with custom grid.

preview

Get started

Roadmap

  • ✅ Rewrite to Composition API.
  • ✅ Create docs.
  • 🔲 Test all props, slots and events.
  • 🔲 Add as much as possible examples of usage to the docs.
  • 🔲 Rewrite to Typescript.
  • 🔲 Release the stable 1.1.0 version.

Installation

$ npm install draggable-resizable-vue3

Register (DraggableResizableVue and DraggableResizableContainer components) globally:

// main.js
import { createApp } from "vue";
import App from "./App.vue";
import DraggableResizableVue from "draggable-resizable-vue3";
const app = createApp(App);
app.use(DraggableResizableVue);
app.mount("#app");

Register locally (composition API):

<script setup>
import DraggableResizableVue from "draggable-resizable-vue3";
</script>

Register locally with the container component:

<script setup>
import {
  DraggableResizableVue,
  DraggableResizableContainer,
} from "draggable-resizable-vue3";
</script>

Initially, this is a fork of the Vue 2 library vue-draggable-resizable. Now it is being developed independently from the source.

/drvue3/

    Package Sidebar

    Install

    npm i drvue3

    Weekly Downloads

    2

    Version

    1.0.96

    License

    MIT

    Unpacked Size

    365 kB

    Total Files

    17

    Last publish

    Collaborators

    • leozbc