{"id":13448585,"url":"https://github.com/daybrush/moveable","last_synced_at":"2025-05-13T17:03:48.279Z","repository":{"id":37388066,"uuid":"195428193","full_name":"daybrush/moveable","owner":"daybrush","description":"Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!","archived":false,"fork":false,"pushed_at":"2024-06-03T07:57:45.000Z","size":80957,"stargazers_count":10352,"open_issues_count":448,"forks_count":644,"subscribers_count":75,"default_branch":"master","last_synced_at":"2025-05-05T22:52:28.482Z","etag":null,"topics":["draggable","groupable","movable","moveable","pinchable","resizable","rotatable","scalable","snappable","warpable"],"latest_commit_sha":null,"homepage":"https://daybrush.com/moveable/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daybrush.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG-1.0.0.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"daybrush","patreon":null,"open_collective":"moveable","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-05T15:04:30.000Z","updated_at":"2025-05-05T21:20:22.000Z","dependencies_parsed_at":"2023-12-07T01:05:46.867Z","dependency_job_id":"f25b3307-a7cc-4833-bf38-e0531a0465e9","html_url":"https://github.com/daybrush/moveable","commit_stats":{"total_commits":1607,"total_committers":39,"mean_commits":"41.205128205128204","dds":"0.28189172370877413","last_synced_commit":"75069102f30c88cd89ecaaa8ca7e5f7434e54807"},"previous_names":[],"tags_count":629,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daybrush%2Fmoveable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daybrush%2Fmoveable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daybrush%2Fmoveable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daybrush%2Fmoveable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daybrush","download_url":"https://codeload.github.com/daybrush/moveable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252590530,"owners_count":21772935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["draggable","groupable","movable","moveable","pinchable","resizable","rotatable","scalable","snappable","warpable"],"created_at":"2024-07-31T05:01:49.670Z","updated_at":"2025-05-05T22:52:59.040Z","avatar_url":"https://github.com/daybrush.png","language":"TypeScript","funding_links":["https://github.com/sponsors/daybrush","https://opencollective.com/moveable","https://opencollective.com/moveable/contribute","https://opencollective.com/moveable/organization/0/website","https://opencollective.com/moveable/organization/1/website","https://opencollective.com/moveable/organization/2/website","https://opencollective.com/moveable/organization/3/website","https://opencollective.com/moveable/organization/4/website","https://opencollective.com/moveable/organization/5/website","https://opencollective.com/moveable/organization/6/website","https://opencollective.com/moveable/organization/7/website","https://opencollective.com/moveable/organization/8/website","https://opencollective.com/moveable/organization/9/website"],"categories":["TypeScript","Typescript / Javascript","技术方案","前端开发框架及项目","Table of contents","Programming Languages","目录","UI Components","📦 Legacy \u0026 Inactive Projects","Uncategorized"],"sub_categories":["可视化页面组件","其他_文本生成、文本对话","Third Party Components","JavaScript","Drag and Drop","Uncategorized"],"readme":"\u003cp align=\"middle\" \u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/logo.png\"/\u003e\u003c/p\u003e\n\u003ch2 align=\"middle\"\u003eMoveable\u003c/h2\u003e\n\u003cp align=\"middle\"\u003e\n\u003ca href=\"https://opencollective.com/moveable\" alt=\"Financial Contributors on Open Collective\"\u003e\u003cimg src=\"https://opencollective.com/moveable/all/badge.svg?label=financial+contributors\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://www.npmjs.com/package/moveable\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/moveable.svg?style=flat-square\u0026color=007acc\u0026label=version\" alt=\"npm version\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/actions\" target=\"_blank\"\u003e\u003cimg alt=\"Github actions\" src=\"https://img.shields.io/github/actions/workflow/status/daybrush/moveable/run-e2e.yml?branch=master\u0026style=flat-square\" /\u003e\u003c/a\u003e\n \u003cimg src=\"https://img.shields.io/badge/language-typescript-blue.svg?style=flat-square\"/\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/blob/master/LICENSE\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/github/license/daybrush/moveable.svg?style=flat-square\u0026label=license\u0026color=08CE5D\"/\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/tree/master/packages/react-moveable\" target=\"_blank\"\u003e \u003cimg alt=\"React\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=React\u0026style=flat-square\u0026color=61daeb\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/tree/master/packages/preact-moveable\" target=\"_blank\"\u003e\u003cimg alt=\"Preact\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Preact\u0026style=flat-square\u0026color=673ab8\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/tree/master/packages/ngx-moveable\" target=\"_blank\"\u003e\u003cimg alt=\"Angular\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Angular\u0026style=flat-square\u0026color=C82B38\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/tree/master/packages/vue-moveable\" target=\"_blank\"\u003e\u003cimg\n    alt=\"Vue\"\n    src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Vue\u0026style=flat-square\u0026color=3fb984\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/tree/master/packages/vue3-moveable\" target=\"_blank\"\u003e\u003cimg\n    alt=\"Vue 3\"\n    src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Vue%203\u0026style=flat-square\u0026color=3fb984\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/tree/master/packages/svelte-moveable\" target=\"_blank\"\u003e\u003cimg alt=\"Svelte\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Svelte\u0026style=flat-square\u0026color=C82B38\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/daybrush/moveable/tree/master/packages/lit-moveable\" target=\"_blank\"\u003e\u003cimg alt=\"Lit\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Lit\u0026style=flat-square\u0026color=61daeb\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"middle\"\u003eMoveable is Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable, Snappable\u003c/p\u003e\n\u003cp align=\"middle\"\u003e\n    \u003ca href=\"https://github.com/daybrush/moveable\" target=\"_blank\"\u003e\u003cstrong\u003eGithub\u003c/strong\u003e\u003c/a\u003e /\n    \u003ca href=\"https://daybrush.com/moveable\" target=\"_blank\"\u003e\u003cstrong\u003eDemo\u003c/strong\u003e\u003c/a\u003e /\n    \u003ca href=\"https://daybrush.com/moveable/storybook/\" target=\"_blank\"\u003e\u003cstrong\u003eStorybook\u003c/strong\u003e\u003c/a\u003e /\n    \u003ca href=\"https://daybrush.com/moveable/release/latest/doc/\" target=\"_blank\"\u003e\u003cstrong\u003eAPI\u003c/strong\u003e\u003c/a\u003e /\n    \u003ca href=\"https://github.com/daybrush/scena\" target=\"_blank\"\u003e\u003cstrong\u003eMain Project\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ctable width=\"100%\" align=\"center\"\u003e\n\u003ctr\u003e\n\u003cth colspan=\"4\"\u003eMoveable\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/basic--basic-draggable\"\u003e\u003cstrong\u003eDraggable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/basic--basic-resizable\"\u003e\u003cstrong\u003eResizable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/basic--basic-scalable\"\u003e\u003cstrong\u003eScalable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/basic--basic-rotatable\"\u003e\u003cstrong\u003eRotatable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/draggable.gif\" /\u003e\n\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/resizable.gif\" /\u003e\n\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/scalable.gif\" /\u003e\n\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/rotatable.gif\" /\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/basic--basic-warpable\"\u003e\u003cstrong\u003eWarpable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/release/latest/doc/Moveable.Pinchable.html\"\u003e\u003cstrong\u003ePinchable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/group--group-draggable-resizable-rotatable\"\u003e\u003cstrong\u003eGroupable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/snap-bound--snap-guidelines\"\u003e\u003cstrong\u003eSnappable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/warpable.gif\"/\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/pinchable.gif\"/\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/groupable.gif\"/\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/snappable.gif\"/\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/basic--basic-clippable\"\u003e\u003cstrong\u003eClippable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/basic--basic-roundable\"\u003e\u003cstrong\u003eRoundable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://daybrush.com/moveable/storybook/index.html?path=/story/basic--basic-origin-draggable\"\u003e\u003cstrong\u003eOriginDraggable\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/daybrush/selecto\"\u003e\u003cstrong\u003eSelecto\u003c/strong\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/clippable.gif\"/\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/roundable.gif\"/\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/origindraggable.gif\"/\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/daybrush/moveable/master/demo/images/selecto.gif\"/\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n## 🔥 Features\n* **Draggable** refers to the ability to drag and move targets.\n* **Resizable** indicates whether the target's width and height can be increased or decreased.\n* **Scalable** indicates whether the target's x and y can be scale of transform.\n* **Rotatable** indicates whether the target can be rotated.\n* **Warpable** indicates whether the target can be warped (distorted, bented).\n* **Pinchable** indicates whether the target can be pinched with draggable, resizable, scalable, rotatable.\n* **Groupable** indicates Whether the targets can be moved in group with draggable, resizable, scalable, rotatable.\n* **Snappable** indicates whether to snap to the guideline.\n* **OriginDraggable*** indicates Whether to drag origin.\n* **Clippable** indicates Whether to clip the target.\n* **Roundable** indicates Whether to show and drag or double click border-radius.\n* Support SVG Elements (svg, path, line, ellipse, g, rect, ...etc)\n* Support Major Browsers\n* Support 3d Transform\n\n\n## ⚙️ Installation\n### npm\n```sh\n$ npm i moveable\n```\n\n### scripts\n```html\n\u003cscript src=\"//daybrush.com/moveable/release/latest/dist/moveable.min.js\"\u003e\u003c/script\u003e\n```\n\n## 📄 Documents\n\n* [**Moveable Handbook**](https://github.com/daybrush/moveable/blob/master/handbook/handbook.md)\n* [**How to use Group**](https://github.com/daybrush/moveable/blob/master/handbook/handbook.md#toc-group)\n* [**How to use custom CSS**](https://github.com/daybrush/moveable/blob/master/handbook/handbook.md#toc-custom-css)\n* [**How to make custom able**](https://github.com/daybrush/moveable/blob/master/packages/react-moveable/src/ables/README.md)\n* [API Documentation](https://daybrush.com/moveable/release/latest/doc/)\n\n## 🚀 How to use\n* All classes of moveable control box and able elements have a `moveable-` prefix. So please don't put `moveable-` class name in target.\n```ts\nimport Moveable from \"moveable\";\n\nconst moveable = new Moveable(document.body, {\n    target: document.querySelector(\".target\"),\n    // If the container is null, the position is fixed. (default: parentElement(document.body))\n    container: document.body,\n    draggable: true,\n    resizable: true,\n    scalable: true,\n    rotatable: true,\n    warpable: true,\n    // Enabling pinchable lets you use events that\n    // can be used in draggable, resizable, scalable, and rotateable.\n    pinchable: true, // [\"resizable\", \"scalable\", \"rotatable\"]\n    origin: true,\n    keepRatio: true,\n    // Resize, Scale Events at edges.\n    edge: false,\n    throttleDrag: 0,\n    throttleResize: 0,\n    throttleScale: 0,\n    throttleRotate: 0,\n});\n/* draggable */\nmoveable.on(\"dragStart\", ({ target, clientX, clientY }) =\u003e {\n    console.log(\"onDragStart\", target);\n}).on(\"drag\", ({\n    target, transform,\n    left, top, right, bottom,\n    beforeDelta, beforeDist, delta, dist,\n    clientX, clientY,\n}) =\u003e {\n    console.log(\"onDrag left, top\", left, top);\n    target!.style.left = `${left}px`;\n    target!.style.top = `${top}px`;\n    // console.log(\"onDrag translate\", dist);\n    // target!.style.transform = transform;\n}).on(\"dragEnd\", ({ target, isDrag, clientX, clientY }) =\u003e {\n    console.log(\"onDragEnd\", target, isDrag);\n});\n\n/* resizable */\nmoveable.on(\"resizeStart\", ({ target, clientX, clientY }) =\u003e {\n    console.log(\"onResizeStart\", target);\n}).on(\"resize\", ({ target, width, height, dist, delta, clientX, clientY }) =\u003e {\n    console.log(\"onResize\", target);\n    delta[0] \u0026\u0026 (target!.style.width = `${width}px`);\n    delta[1] \u0026\u0026 (target!.style.height = `${height}px`);\n}).on(\"resizeEnd\", ({ target, isDrag, clientX, clientY }) =\u003e {\n    console.log(\"onResizeEnd\", target, isDrag);\n});\n\n/* scalable */\nmoveable.on(\"scaleStart\", ({ target, clientX, clientY }) =\u003e {\n    console.log(\"onScaleStart\", target);\n}).on(\"scale\", ({\n    target, scale, dist, delta, transform, clientX, clientY,\n}: OnScale) =\u003e {\n    console.log(\"onScale scale\", scale);\n    target!.style.transform = transform;\n}).on(\"scaleEnd\", ({ target, isDrag, clientX, clientY }) =\u003e {\n    console.log(\"onScaleEnd\", target, isDrag);\n});\n\n/* rotatable */\nmoveable.on(\"rotateStart\", ({ target, clientX, clientY }) =\u003e {\n    console.log(\"onRotateStart\", target);\n}).on(\"rotate\", ({ target, beforeDelta, delta, dist, transform, clientX, clientY }) =\u003e {\n    console.log(\"onRotate\", dist);\n    target!.style.transform = transform;\n}).on(\"rotateEnd\", ({ target, isDrag, clientX, clientY }) =\u003e {\n    console.log(\"onRotateEnd\", target, isDrag);\n});\n\n/* warpable */\nthis.matrix = [\n    1, 0, 0, 0,\n    0, 1, 0, 0,\n    0, 0, 1, 0,\n    0, 0, 0, 1,\n];\nmoveable.on(\"warpStart\", ({ target, clientX, clientY }) =\u003e {\n    console.log(\"onWarpStart\", target);\n}).on(\"warp\", ({\n    target,\n    clientX,\n    clientY,\n    delta,\n    dist,\n    multiply,\n    transform,\n}) =\u003e {\n    console.log(\"onWarp\", target);\n    // target.style.transform = transform;\n    this.matrix = multiply(this.matrix, delta);\n    target.style.transform = `matrix3d(${this.matrix.join(\",\")})`;\n}).on(\"warpEnd\", ({ target, isDrag, clientX, clientY }) =\u003e {\n    console.log(\"onWarpEnd\", target, isDrag);\n});\n\n/* pinchable */\n// Enabling pinchable lets you use events that\n// can be used in draggable, resizable, scalable, and rotateable.\nmoveable.on(\"pinchStart\", ({ target, clientX, clientY }) =\u003e {\n    // pinchStart event occur before dragStart, rotateStart, scaleStart, resizeStart\n    console.log(\"onPinchStart\");\n}).on(\"pinch\", ({ target, clientX, clientY, datas }) =\u003e {\n    // pinch event occur before drag, rotate, scale, resize\n    console.log(\"onPinch\");\n}).on(\"pinchEnd\", ({ isDrag, target, clientX, clientY, datas }) =\u003e {\n    // pinchEnd event occur before dragEnd, rotateEnd, scaleEnd, resizeEnd\n    console.log(\"onPinchEnd\");\n});\n```\n\n\n## 📦 Packages\n* [**moveable**](https://github.com/daybrush/moveable/blob/master/packages/moveable): A Vanilla Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.\n* [**react-moveable**](https://github.com/daybrush/moveable/blob/master/packages/react-moveable): A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.\n* [**preact-moveable**](https://github.com/daybrush/moveable/blob/master/packages/preact-moveable): A Preact Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.\n* [**ngx-moveable**](https://github.com/daybrush/moveable/blob/master/packages/ngx-moveable): An Angular Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.\n* [**svelte-moveable**](https://github.com/daybrush/moveable/blob/master/packages/svelte-moveable): A Svelte Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.\n* [**lit-moveable**](https://github.com/daybrush/moveable/blob/master/packages/lit-moveable): A Lit Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.\n* [**vue-moveable**](https://github.com/daybrush/moveable/blob/master/packages/vue-moveable): A Vue Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.\n* [**vue3-moveable**](https://github.com/daybrush/moveable/blob/master/packages/vue3-moveable): A Vue 3 Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable.\n\n## ⚙️ Developments\nThe `moveable` repo is managed as a [monorepo](https://github.com/lerna/lerna) with `yarn`.\n\n```sh\nyarn config set registry https://registry.npmjs.org/\n```\n\nThe main project was made with `react` and I used [`croact`](https://github.com/daybrush/croact) to make it lighter with umd.\n\nFor development and testing, check in [packages/react-moveable](https://github.com/daybrush/moveable/blob/master/packages/react-moveable).\n\n### `npm run storybook`\n\n```\n$ yarn\n$ npm run packages:build\n$ npm run storybook\n```\n\nRuns the app in the development mode.\u003cbr/\u003e\nOpen [http://localhost:6006](http://localhost:6006) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr/\u003e\nYou will also see any lint errors in the console.\n\n\n## ⭐️ Show Your Support\nPlease give a ⭐️ if this project helped you!\n\n\n## 👏 Contributing\n\nIf you have any questions or requests or want to contribute to `moveable` or other packages, please write the [issue](https://github.com/daybrush/moveable/issues) or give me a Pull Request freely.\n\n\n### Code Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].\n\n\u003ca href=\"https://github.com/daybrush/moveable/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=daybrush/moveable\" /\u003e\n\u003c/a\u003e\n\n## 🐞 Bug Report\n\nIf you find a bug, please report to us opening a new [Issue](https://github.com/daybrush/moveable/issues) on GitHub.\n\n## Sponsors\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://daybrush.com/sponsors/sponsors.svg\"\u003e\n\t\t\u003cimg src=\"https://daybrush.com/sponsors/sponsors.svg\"/\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\n### Open Collective Financial Contributors\n\nBecome a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/moveable/contribute)]\n\n#### Individuals\n\n\u003ca href=\"https://opencollective.com/moveable\"\u003e\u003cimg src=\"https://opencollective.com/moveable/individuals.svg?width=890\" /\u003e\u003c/a\u003e\n\n#### Organizations\n\nSupport this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/moveable/contribute)]\n\n\u003ca href=\"https://opencollective.com/moveable/organization/0/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/0/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/1/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/1/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/2/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/2/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/3/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/3/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/4/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/4/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/5/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/5/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/6/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/6/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/7/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/7/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/8/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/8/avatar.svg\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/moveable/organization/9/website\"\u003e\u003cimg src=\"https://opencollective.com/moveable/organization/9/avatar.svg\"/\u003e\u003c/a\u003e\n\n## 📝 License\n\nThis project is [MIT](https://github.com/daybrush/moveable/blob/master/LICENSE) licensed.\n\n```\nMIT License\n\nCopyright (c) 2019 Daybrush\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaybrush%2Fmoveable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaybrush%2Fmoveable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaybrush%2Fmoveable/lists"}