updateDrag

Updates the active drag gesture by deltaY.

Return

DragUpdateResult indicating whether the card swapped index positions.

Parameters

deltaY

vertical translation delta.

layout

computed CardListLayout.

cards

list of cards in current display order.

params

layout configuration parameters.