@sovereignbase/dragonwatch
    Preparing search index...

    Type Alias DragMoveCallback

    DragMoveCallback: (
        dragged: HTMLElement,
        offset: DragInstruction,
        pointerEvent: PointerEvent,
    ) => void

    Receives movement updates for an active drag operation.

    Type Declaration

      • (
            dragged: HTMLElement,
            offset: DragInstruction,
            pointerEvent: PointerEvent,
        ): void
      • Parameters

        • dragged: HTMLElement

          The element being moved by the active pointer interaction.

        • offset: DragInstruction

          The current translate offset for the dragged element.

        • pointerEvent: PointerEvent

          The pointer event that produced the movement.

        Returns void