@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface KanbanCardMoveEvent<T>

    Emitted when a card is moved between columns or reordered within the same column.

    interface KanbanCardMoveEvent<T = unknown> {
        card: KanbanCard<T>;
        currentColumnId: string;
        currentIndex: number;
        previousColumnId: string;
        previousIndex: number;
    }

    Type Parameters

    • T = unknown

      The shape of the card payload.

    Index

    Properties

    card: KanbanCard<T>

    The card that was moved.

    currentColumnId: string

    Column the card was dropped into.

    currentIndex: number

    New index within the target column.

    previousColumnId: string

    Column the card came from.

    previousIndex: number

    Previous index within the source column.