yarn install / npm install
yarn start / npm start
import DragMeDropMe or ItemDDme from src/components/DragMeDropMe
Single component with free movement
id,
debug,
coordTop,
coordLeft,
width,
movingArea,
children,
style,
className,
styleOnCapture,
classOnCapture,
styleOnLostCapture,
classOnLostCapture,
styleOnMove,
classOnMove,
noSelect,
onMoveCallback,
onDownCallback,
onUpCallback,
onGotCaptureCallback,
onLostCaptureCallback
Area with a set of components
debug,
size = {width:90%
,height:90%
} -- style % or px,
itemslist,
defaultWidthItem,
columnOffsetLeft,
shadowEffect,
styleFoItms,
classFoItms,
callback,
children
status: in progress...
uses: react-motion,lodash.range
import DragMe and DropMe from src/components/DragMe
If this project help you reduce time to develop, you can give me a cup of coffee :)
The MIT License.
mrZ - mrz@mrzlab630.pw