Skip to content

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 ​

PropertyTypeDescriptionInherited fromDefined in
deltaXnumberTotal horizontal distance moved since the drag started, in logical pixels.-adapters/vue/src/types.ts:30
deltaYnumberTotal vertical distance moved since the drag started, in logical pixels.-adapters/vue/src/types.ts:32
startXnumberX coordinate at which the drag started, in logical pixels.-adapters/vue/src/types.ts:26
startYnumberY coordinate at which the drag started, in logical pixels.-adapters/vue/src/types.ts:28
xnumberX coordinate of the pointer, relative to the context element's top-left.RiplPointerPayload.xadapters/vue/src/types.ts:18
ynumberY coordinate of the pointer, relative to the context element's top-left.RiplPointerPayload.yadapters/vue/src/types.ts:20