From 6dac0c66d12d0a0f2e8b8d3847e8d5543f24a4d3 Mon Sep 17 00:00:00 2001 From: brando209 <38765505+brando209@users.noreply.github.com> Date: Tue, 3 May 2022 15:22:33 -0700 Subject: [PATCH] Typo: Description for `onBeforeCardDelete` entry There is a typo within the `Callbacks and Handlers` table for the `onBeforeCardDelete` entry. Changed `onConfirmCardDelete` to `onBeforeCardDelete`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5db3b0c16..b9a76767f 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ This is the container component that encapsulates the lanes and cards | onDataChange | function | Called everytime the data changes due to user interaction or event bus: `onDataChange(newData)` | | onCardClick | function | Called when a card is clicked: `onCardClick(cardId, metadata, laneId)` | | onCardAdd | function | Called when a new card is added: `onCardAdd(card, laneId)` | -| onBeforeCardDelete | function | Called before delete a card, please call the `callback()` if confirm to delete a card: `onConfirmCardDelete(callback)` +| onBeforeCardDelete | function | Called before delete a card, please call the `callback()` if confirm to delete a card: `onBeforeCardDelete(callback)` | onCardDelete | function | Called when a card is deleted: `onCardDelete(cardId, laneId)` | | onCardMoveAcrossLanes | function | Called when a card is moved across lanes `onCardMoveAcrossLanes(fromLaneId, toLaneId, cardId, index)` | | onLaneAdd | function | Called when a new lane is added: `onLaneAdd(params)` |