Documentation / @ripl/vue / RiplDragPayload
Interface: RiplDragPayload ​
Defined in: adapters/vue/src/types.ts:24
The payload carried by a drag event: the current position plus the gesture's origin and delta.
Extends ​
Properties ​
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
deltaX | number | Total horizontal distance moved since the drag started, in logical pixels. | - | adapters/vue/src/types.ts:30 |
deltaY | number | Total vertical distance moved since the drag started, in logical pixels. | - | adapters/vue/src/types.ts:32 |
startX | number | X coordinate at which the drag started, in logical pixels. | - | adapters/vue/src/types.ts:26 |
startY | number | Y coordinate at which the drag started, in logical pixels. | - | adapters/vue/src/types.ts:28 |
x | number | X coordinate of the pointer, relative to the context element's top-left. | RiplPointerPayload.x | adapters/vue/src/types.ts:18 |
y | number | Y coordinate of the pointer, relative to the context element's top-left. | RiplPointerPayload.y | adapters/vue/src/types.ts:20 |