DayPilot.Kanban.onCardDeleted

The onCardDeleted event is fired after the default event delete action.

Declaration

DayPilot.Kanban.onCardDeleted(args);

Parameters

  • args.card (DayPilot.Card object)

Example

<div id="kanban"></div>

<script>

    const kanban = new DayPilot.Kanban("kanban", {
      cardDeleteHandling: "Update",
      onCardDeleted: (args) => {
        kanban.message(args.card.data.name + " deleted.");
      },
      // ...
    });
    kanban.init();

</script>