You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the onBeforeCardDelete function to support the Confirm Delete option. By this event, users can do something (eg. cancel delete) before delete the card.
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,7 @@ This is the container component that encapsulates the lanes and cards
139
139
| onDataChange | function | Called everytime the data changes due to user interaction or event bus: `onDataChange(newData)`|
140
140
| onCardClick | function | Called when a card is clicked: `onCardClick(cardId, metadata, laneId)`|
141
141
| onCardAdd | function | Called when a new card is added: `onCardAdd(card, laneId)`|
142
+
| onBeforeCardDelete | function | Called before delete a card, please call the `callback()` if confirm to delete a card: `onConfirmCardDelete(callback)`
142
143
| onCardDelete | function | Called when a card is deleted: `onCardDelete(cardId, laneId)`|
143
144
| onCardMoveAcrossLanes | function | Called when a card is moved across lanes `onCardMoveAcrossLanes(fromLaneId, toLaneId, cardId, index)`|
144
145
| onLaneAdd | function | Called when a new lane is added: `onLaneAdd(params)`|
0 commit comments