Open nitish332 opened 3 years ago
Skip to content Search or jump toβ¦
Pull requests Issues Marketplace Explore
@nitish332 daybrush / moveable 65 5.5k289 Code Issues 94 Pull requests 1 Discussions Actions Projects Wiki Security Insights feat: add svelte component (#95)
feat: init svelte-moveable
fix: fix svelte config
fix: fix types
fix: fix dispatch event
feat: Add onEvent for all events
demo: fix demo
chore: Update moveable
demo: fix demo
demo: add clickGroup
demo: add dragGroup events
demo: add scaleGroup events
fix: update moveable
fix: fix event return value
demo: fix svelte demo
chore: Update moveable
fix: fix portal for parentElement
feat: add svelte component master (#95) 0.24.5 β¦ 0.10.4 @daybrush daybrush committed on Nov 12, 2019 1 parent 8fe6b54 commit c67c4426be44022e359a0ee6b8890d7506173708 Showing with 4,014 additions and 13 deletions. 6 .editorconfig @@ -12,4 +12,8 @@ trim_trailing_whitespace = true
[{package.json,.travis.yml}] indent_style = space indent_size = 4 indent_size = 4
[*.svelte] indent_style = space indent_size = 2 2 README.md @@ -13,6 +13,7 @@ <img alt="Vue" src="https://img.shields.io/static/v1.svg?label=&message=Vue&style=flat-square&color=3fb984">
Moveable is Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable, Snappable
@@ -216,6 +217,7 @@ moveable.on("pinchStart", ({ target, clientX, clientY }) => { * [**react-moveable**](https://github.com/daybrush/moveable/blob/master/packages/react-moveable): A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable. * [**preact-moveable**](https://github.com/daybrush/moveable/blob/master/packages/preact-moveable): A Preact Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable. * [**ngx-moveable**](https://github.com/daybrush/moveable/blob/master/packages/ngx-moveable): An Angular Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable. * [**svelte-moveable**](https://github.com/daybrush/moveable/blob/master/packages/svelte-moveable): A Svelte Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable. * [**vue-moveable**(@probil)](https://github.com/probil/vue-moveable): A Vue Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable. 2 package.json @@ -1,6 +1,6 @@ { "name": "moveable", "version": "0.10.2", "version": "0.10.3", "description": "Moveable is Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable, Snappable.", "main": "./dist/moveable.cjs.js", "module": "./dist/moveable.esm.js", 7 packages/ngx-moveable/README.md @@ -13,6 +13,7 @@
An Angular Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
@@ -147,9 +148,9 @@ export class AppModule { } (rotateEnd)="onRotateEnd($event)" [warpable]="false" (warpStart)="onRotateStart($event)" (warp)="onRotate($event)" (warpEnd)="onRotateEnd($event)" (warpStart)="onWarpStart($event)" (warp)="onWarp($event)" (warpEnd)="onWarpEnd($event)" [pinchable]="false" (pinchStart)="onPinchStart($event)" 7 packages/ngx-moveable/projects/ngx-moveable/README.md @@ -13,6 +13,7 @@
An Angular Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
@@ -147,9 +148,9 @@ export class AppModule { } (rotateEnd)="onRotateEnd($event)" [warpable]="false" (warpStart)="onRotateStart($event)" (warp)="onRotate($event)" (warpEnd)="onRotateEnd($event)" (warpStart)="onWarpStart($event)" (warp)="onWarp($event)" (warpEnd)="onWarpEnd($event)" [pinchable]="false" (pinchStart)="onPinchStart($event)" 6 packages/ngx-moveable/projects/ngx-moveable/package-lock.json Some generated files are not rendered by default. Learn more. 2 packages/ngx-moveable/projects/ngx-moveable/package.json @@ -44,6 +44,6 @@ }, "dependencies": { "framework-utils": "^0.2.1", "moveable": "^0.10.2" "moveable": "^0.10.3" } } 3 packages/svelte-moveable/.gitignore @@ -0,0 +1,3 @@ .DS_Store node_modules public/bundle.* 194 packages/svelte-moveable/README.md @@ -0,0 +1,194 @@
A Svelte Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable, Snappable.
Demo / Handbook / API / Main Project
Moveable | |||
---|---|---|---|
Draggable | Resizable | Scalable | Rotatable |
Warpable | Pinchable | Groupable | Snappable |
Perimeter <na> A=1/2p*Inner Radios