![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-drag-list
Advanced tools
React DraggableList Component
npm install typings -g
npm install
typings install
npm start
http://localhost:8000/examples/
online example: http://front-ender.me/react-drag-list/
import React from 'react'
import ReactDragList from 'react-drag-list'
React.render(
<ReactDragList
dataSource={['row1', 'row2', 'row3']}
row={(record, index) => <div>index + record</div>}
/>, container);
Name | Type | Default | Description |
---|---|---|---|
prefixCls | string | rc-draggable-list | The draggable list dom node's prefixCls |
className | string | additional className for draggable list | |
style | object | Root style for draggable list element. Such as width, height | |
rowClassName | string | additional className for draggable list row item | |
dataSource | any[] | data record array to be rendered | |
rowKey | string | key of row to be rendered | |
row | function(record, index): ReactNode | row data to be rendered | |
disabled | boolean | false | disables the drag if set to true |
handles | boolean | false | show drag handles |
animation | string | 150 | ms, animation speed moving items when sorting, 0 — without animation |
onUpdate | function(event: Object) | called when sorting list changed | |
ghostClass | string | additional className for the drop placeholder | |
chosenClass | string | additional className for the chosen item | |
dragClass | string | additional className for the dragging item |
npm test
npm run chrome-test
npm run coverage
open coverage/ dir
react-drag-list is released under the MIT license.
FAQs
drag list ui component for react
The npm package react-drag-list receives a total of 122 weekly downloads. As such, react-drag-list popularity was classified as not popular.
We found that react-drag-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.