react-list-drag-and-drop:轻巧的Rea​​ct组件通过拖放来对列表元素进行重新排序

时间:2021-05-17 08:56:22
【文件属性】:
文件名称:react-list-drag-and-drop:轻巧的Rea​​ct组件通过拖放来对列表元素进行重新排序
文件大小:7.36MB
文件格式:ZIP
更新时间:2021-05-17 08:56:22
TypeScript React列表拖放 该软件包尚未在移动浏览器或React Native上进行过测试。 对不起! 安装 npm install --save react-list-drag-and-drop 用法 您必须具有要在列表中呈现的项目Array 。 不用在
内部渲染它,而是使用渲染道具在组件内部渲染它。 import RLDD from 'react-list-drag-and-drop/lib/RLDD' ; < RLDD xss=removed xss=removed xss=removed> { return ( < div xss=removed> { item . title } < / div > ) ; } } onChange = { this . handleRLDDCh
【文件预览】:
react-list-drag-and-drop-master
----.travis.yml(207B)
----tsconfig.prod.json(34B)
----demos()
--------horizontal-fruits.gif(1.07MB)
--------vertical-fruits.gif(6.25MB)
----package.json(1KB)
----tslint.json(3KB)
----build-lib.js(1KB)
----LICENSE(1KB)
----package-lock.json(640KB)
----src()
--------RLDDFloatingItem.css(50B)
--------RLDDLogic.ts(3KB)
--------Geometry.ts(2KB)
--------tests()
--------RLDD.tsx(5KB)
--------RLDDItemComponent.tsx(4KB)
--------main.js(61B)
--------examples()
--------index.tsx(334B)
--------Signal.ts(494B)
--------RLDDFloatingItemComponent.tsx(2KB)
----tsconfig.test.json(87B)
----tsconfig.json(645B)
----.gitignore(214B)
----public()
--------manifest.json(317B)
--------index.html(1KB)
--------favicon.ico(4KB)
----tsconfig-lib.json(325B)
----README.md(2KB)
----.vscode()
--------settings.json(42B)

网友评论