Projects
View on GitHub
pablofierro/react-drag-select
About
Drag select React component
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalReact Drag to Select Component
A React component that provides group and individual item selection using mouse drag or shift/ctrl + click to select individual items.
Public Methods
selectItem(key, status)
Manually sets an items selection status by its id.
selectAll()
Select all elements in the list.
clearSelection()
Clears all selected items.
Options
| Property Name | Description | Type | Default |
|---|---|---|---|
| enabled | Enables or disables the drag select behaviour | boolean | true |
| onSelectionChange | Called when the selected items change, receives item keys as argument. | function | noop |
Explore related projects
Loading…