Intermact API Reference / @intermact/core / DragBinding
Interface: DragBinding
Defined in: packages/core/src/interaction/types.ts:51
Signal-backed drag behavior the host wires up (design.md §12.3). read gives the handle's current world position (so it follows the signal); write commits a dragged world position back to the signal, triggering reactive recompute.
Properties
kind
readonlykind:"point"|"value"
Defined in: packages/core/src/interaction/types.ts:52
Methods
read()
read():
AbsXY
Defined in: packages/core/src/interaction/types.ts:53
Returns
write()
write(
world):void
Defined in: packages/core/src/interaction/types.ts:54
Parameters
world
Returns
void