draggable-resizable-vue3

Vue 3 Component to drag and resize.
94,350 44
Install
npm install draggable-resizable-vue3@1.0.0
Latest Version:1.0.0
Vue:3
License:MIT
Last Updated:Dec 31, 2022
Links: GitHub  ·  npm
Maintainer: zavalen

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

  • :white_check_mark: Rewrite to Composition API.
  • :white_check_mark: Create docs.
  • :black_square_button: Test all props, slots and events.
  • :black_square_button: Add as much as possible examples of usage to the docs.
  • :black_square_button: 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.

Related Packages

yoyoo-ddr

Lightweight and no dependencies,use draggable, resizable, rotatable, configurabl...

37,527 186
yoyoo-ddr-vue3

Lightweight and no dependencies,use draggable, resizable, rotatable, configurabl...

7,422 186
vue-draggable-resizable-next

[Vue3 Component] Draggable and resizable component for vue3

4,388 755
yoyoo-ddr-vue3-ts

Lightweight and no dependencies,use draggable, resizable, rotatable, configurabl...

2,187

Version History

Version Released License
1.0.0
Pre-releases (13)
Version Released License
1.0.94-beta MIT
1.0.93-beta MIT
1.0.92-beta MIT
1.0.91-beta MIT
1.0.9-beta MIT