Drag and Drop
drag-and-drop drags one element onto another. It emits the full sequence of mouse events so HTML5 drag targets, canvas-based surfaces, and sortable lists all react correctly.
yaml
- drag-and-drop:
from: the "Design review" card
to: the "In progress" column| Field | Type | Description |
|---|---|---|
fromrequired | string | Element to pick up. |
torequired | string | Element to drop onto. |
steps | number | Number of mouse-move events. Higher values produce smoother drags. |