Skip to content

JS API

The Draggable component uses the withDrag decorator of the @studiometa/js-toolkit package and inherits from all of its APIs.

Properties

x

  • Type: number

The horizontal position.

y

  • Type: number

The vertical transformation.

originX

  • Type: number

The horizontal origin.

originY

  • Type: number

The vertical origin.