Socket
Book a DemoInstallSign in
Socket

rci-dnd

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rci-dnd

dnd ui component for react

latest
Source
npmnpm
Version
0.4.3
Version published
Maintainers
1
Created
Source

rci-dnd

React-dnd

Screenshots

Usage

see examples

npm i rci-dnd

API

Dnd props

namedescriptiontypedefault
classNameadditional css class of root dom nodeString''
prefixClsprefix classString'rci-dnd'
datadata of dnd (unique id across all data)Array[{id:Number/String, content:Node/any},]

Block props

namedescriptiontypedefault
classNameadditional css class of root dom nodeString''
indexthe index of BlockNumber

Card props

namedescriptiontypedefault
classNameadditional css class of root dom nodeString''
indexthe index of CardNumber
bIndexthe index of Block (Card inside)Number
placeholderthe placeholder of Card in Block (it's temporary appear)bool
contentthe content of Cardnode

Development

npm install
npm start

resource

drag-drop

  • https://gaearon.github.io/react-dnd/docs-overview.html
  • the-future-of-drag-and-drop-apis
  • angular-drag-and-drop-lists

infinite scroll

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rc-tree is released under the MIT license.

Keywords

react

FAQs

Package last updated on 31 Mar 2016

Did you know?

Socket

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.

Install

Related posts