Skip to content

createReorder beta ​

Function of @v12-engine/client/kit

ts
export declare function createReorder(options: {
    onReorder: (from: number, to: number) => void;
    enabled?: () => boolean;
}): Reorder;

Rows to be put in another order by dragging, each list on its own: onReorder(from, to) is told the row dragged and the index it is dropped at (as ListPanel.onReorder: the place it then has). Off while enabled says not