All Projects → beizhedenglong → reactablejs

beizhedenglong / reactablejs

Licence: MIT license
A react high-order component for interact.js(drag and drop, resizing and multi-touch gestures).

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to reactablejs

Vue Draggable Resizable Gorkys
Vue 用于可调整大小和可拖动元素的组件并支持冲突检测、元素吸附、元素对齐、辅助线
Stars: ✭ 521 (+783.05%)
Mutual labels:  resize, drag
Vue3 Draggable Resizable
[Vue3 组件] 用于拖拽调整位置和大小的的组件,同时支持冲突检测,元素吸附对齐,实时参考线。
Stars: ✭ 159 (+169.49%)
Mutual labels:  resize, drag
Vue Drag Resize
Vue Component for resize and drag elements
Stars: ✭ 1,007 (+1606.78%)
Mutual labels:  resize, drag
Piper
A drag-and-drop mobile website builder base on Vue
Stars: ✭ 228 (+286.44%)
Mutual labels:  drag-and-drop, drag
DragDropiOS
DragDropiOS is a drag and drop manager on iOS. It supports drag and drop with in one or more classes extends UIView. This library contains UICollectionView and UITableView that implenment of drag and drop manager.
Stars: ✭ 71 (+20.34%)
Mutual labels:  drag-and-drop, drag
subjx
Drag/Resize/Rotate Javascript library
Stars: ✭ 155 (+162.71%)
Mutual labels:  resize, drag
Vuegg
🐣 vue GUI generator
Stars: ✭ 2,056 (+3384.75%)
Mutual labels:  resize, drag
React Dragline
🐼Guide lines and magnetic adsorption to better align draggable elements in React.
Stars: ✭ 134 (+127.12%)
Mutual labels:  drag-and-drop, drag
react-native-dnd-board
A drag and drop Kanban board for React Native.
Stars: ✭ 41 (-30.51%)
Mutual labels:  drag-and-drop, drag
React Grid Layout
A draggable and resizable grid layout with responsive breakpoints, for React.
Stars: ✭ 14,732 (+24869.49%)
Mutual labels:  resize, drag-and-drop
Blazor Dragdrop
Easy-to-use Drag and Drop Library for Blazor
Stars: ✭ 161 (+172.88%)
Mutual labels:  drag-and-drop, drag
anim-event
Event Manager for Animation
Stars: ✭ 25 (-57.63%)
Mutual labels:  resize, drag
Ngx Smooth Dnd
angular wrapper for smooth-dnd
Stars: ✭ 152 (+157.63%)
Mutual labels:  drag-and-drop, drag
Vue Grid Layout
A draggable and resizable grid layout, for Vue.js.
Stars: ✭ 5,170 (+8662.71%)
Mutual labels:  resize, drag-and-drop
Angular Skyhook
An implementation of react-dnd for Angular.
Stars: ✭ 146 (+147.46%)
Mutual labels:  drag-and-drop, drag
The Grid
Grid layout custom element with drag and drop capabilities
Stars: ✭ 122 (+106.78%)
Mutual labels:  resize, drag-and-drop
Gong Wpf Dragdrop
The GongSolutions.WPF.DragDrop library is a drag'n'drop framework for WPF
Stars: ✭ 1,669 (+2728.81%)
Mutual labels:  drag-and-drop, drag
React File Drop
React component for Gmail or Facebook -like drag and drop file uploader
Stars: ✭ 123 (+108.47%)
Mutual labels:  drag-and-drop, drag
React Rnd
🖱 A resizable and draggable component for React.
Stars: ✭ 2,560 (+4238.98%)
Mutual labels:  resize, drag
solid-dnd
A lightweight, performant, extensible drag and drop toolkit for Solid JS.
Stars: ✭ 251 (+325.42%)
Mutual labels:  drag-and-drop, drag

Reactablejs = Reactjs + Interactjs

A react high-order component for interactjs.

Current supported features:

  • drag
  • resize
  • drop
  • multi-touch
  • restrict
  • snap
  • modifiers

Current supported props:

  • options: draggable resizable gesturable dropzone.
  • event handlers: onDragStart onDragMove onDragInertiaStart onDragEnd onResizeStart onResizeMove onResizeInertiaStart onResizeEnd onGestureStart onGestureMove onGestureEnd onDropActivate onDropdEactivate onDragEnter onDragLeave onDropMove onDrop onDown onMove onUp onCancel onTap onDoubleTap onHold.

api details, visit interactjs' docs

Installation

reactablejs use interactjs as peerDependencies, you should also install interactjs.

npm install reactablejs interactjs --save

Usage

import React from 'react'
import reactable from 'reactablejs'

const MyComponent = (props) => {
  return <div ref={props.getRef}>
    hello, world!
  </div>
}

// MyComponent will receive getRef in props, put getRef to the element you want interact, then you can use all options and event handlers on Reactable

const Reactable = reactable(MyComponent) 

Example

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].