bndr-js - v0.18.0 / DragData

Interface: DragData

Properties

current

current: vec2

The current position of the pointer.

Defined in

src/generator/pointer.ts:49open in new window


delta

delta: vec2

The delta of the pointer position.

Defined in

src/generator/pointer.ts:53open in new window


event

event: PointerEvent

The original pointer event.

Defined in

src/generator/pointer.ts:57open in new window


start

start: vec2

The position of the pointer when the drag started.

Defined in

src/generator/pointer.ts:45open in new window


type

type: "down" | "up" | "drag"

The type of the event.

Defined in

src/generator/pointer.ts:41open in new window