app_drag
Drag an element to a target by selector or text, or by pixel offset for sliders, range inputs, reordering lists, or canvas handles.
Instructions
Drag an element (by selector or text) onto another element, or by a pixel offset — for sliders, range inputs, reordering lists, or canvas handles. Provide to (a target with selector/text) OR offset {x,y}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Destination element | |
| text | No | Target by visible text or accessible name (e.g. "Browse") | |
| exact | No | With text: require an exact match instead of substring | |
| offset | No | Pixel offset to drag by (alternative to `to`) | |
| selector | No | CSS selector for the element |