Interface: LayerDragDetail
Defined in: src/ui/elements/PcLayerItem/index.ts:142
Details of a drag of a layer by its reorder handle
Properties
layer
layer:
default
Defined in: src/ui/elements/PcLayerItem/index.ts:143
phase
phase:
"move"|"cancel"|"start"|"end"
Defined in: src/ui/elements/PcLayerItem/index.ts:145
The drag started, moved, ended (dropped) or was cancelled (Escape, or the browser cancelled the pointer)
x
x:
number
Defined in: src/ui/elements/PcLayerItem/index.ts:147
The pointer's position in the viewport, in CSS pixels
y
y:
number
Defined in: src/ui/elements/PcLayerItem/index.ts:148