# draggable-resizable-vue3

> Vue 3 Component to drag and resize.

Latest version **1.0.94-beta** (published 2022-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install draggable-resizable-vue3
pnpm add draggable-resizable-vue3
yarn add draggable-resizable-vue3
bun add draggable-resizable-vue3
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.94-beta |
| Published | 2022-08-27 |
| First published | 2022-08-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 356 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 44 |
| Maintainers | zavalen |
| Keywords | vue3, component, draggable, resizable |

## Links

- npm: https://www.npmjs.com/package/draggable-resizable-vue3
- Repository: https://github.com/zavalen/draggable-resizable-vue3
- Issues: https://github.com/zavalen/draggable-resizable-vue3/issues
- npm.io page: https://npm.io/package/draggable-resizable-vue3

## Recent versions

- 1.0.94-beta (latest) — 2022-08-27
- 1.0.93-beta — 2022-08-27
- 1.0.92-beta — 2022-08-27
- 1.0.91-beta — 2022-08-27
- 1.0.9-beta — 2022-08-23
- 1.0.8-beta — 2022-08-23
- 1.0.7-beta — 2022-08-19
- 1.0.6-beta — 2022-08-18
- 1.0.5-beta — 2022-08-16
- 1.0.4-beta — 2022-08-14
- 1.0.3-beta — 2022-08-13
- 1.0.2-beta — 2022-08-13
- 1.0.1-beta — 2022-08-13
- 1.0.0 — 2022-08-13

## README

# draggable-resizable-vue3

[![Latest Version on NPM](https://img.shields.io/npm/v/draggable-resizable-vue3.svg?style=flat-square)](https://www.npmjs.com/package/draggable-resizable-vue3)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![npm](https://img.shields.io/npm/dt/draggable-resizable-vue3.svg?style=flat-square)](https://www.npmjs.com/package/draggable-resizable-vue3)

This is Vue 3 (Composition API) library for draggable and resizable elements with custom grid.

![preview](static/draggable.gif)

## Get started

- [:green_book: Documentation](https://draggable-resizable-vue3.netlify.app/).
- [:cookie: Examples](https://draggable-resizable-vue3.netlify.app/docs/examples/no-props.html).
- [:tomato: Live playground.](https://codesandbox.io/s/github/zavalen/draggable-resizable-vue3?file=/src/App.vue)



## 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

```bash
$ npm install draggable-resizable-vue3
```

Register (`DraggableResizableVue` and `DraggableResizableContainer` components) globally:

```js
// 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):

```vue
<script setup>
import DraggableResizableVue from "draggable-resizable-vue3";
</script>
```

Register locally with the container component:

```vue
<script setup>
import {
  DraggableResizableVue,
  DraggableResizableContainer,
} from "draggable-resizable-vue3";
</script>
```
___

Initially, this is a fork of the Vue 2 library [vue-draggable-resizable](https://github.com/mauricius/vue-draggable-resizable). Now it is being developed independently from the source.

---
_Source: https://npm.io/package/draggable-resizable-vue3 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
