Skip to content

Commit 64a29b0

Browse files
authored
update readme for cancelling drop
1 parent e4c6b91 commit 64a29b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ This is the container component that encapsulates the lanes and cards
9191
| editable | boolean | Makes the entire board editable. Allow cards to be added or deleted Default: false |
9292
| canAddLanes | boolean | Allows new lanes to be added to the board. Default: false |
9393
| handleDragStart | function | Callback function triggered when card drag is started: `handleDragStart(cardId, laneId)` |
94-
| handleDragEnd | function | Callback function triggered when card drag ends: `handleDragEnd(cardId, sourceLaneId, targetLaneId, position, cardDetails)` |
94+
| handleDragEnd | function | Callback function triggered when card drag ends, return false if you want to cancel drop: `handleDragEnd(cardId, sourceLaneId, targetLaneId, position, cardDetails)` |
9595
| handleLaneDragStart | function | Callback function triggered when lane drag is started: `handleLaneDragStart(laneId)` |
9696
| handleLaneDragEnd | function | Callback function triggered when lane drag ends: `handleLaneDragEnd(laneId, newPosition)` |
9797
| cardDragClass | string | CSS class to be applied to Card when being dragged |

0 commit comments

Comments
 (0)