@witchcraft/layout
    Preparing search index...

    Interface DragChangeHandler

    Note that the return type only affects the move event but is also typed as boolean for other events for ease of use.

    • Type Parameters

      • T extends "start" | "move" | "end"

      Parameters

      • type: T
      • e: T extends "end" ? undefined | PointerEvent : PointerEvent
      • state: DragState
      • forceRecalculateEdges: () => void
      • cancel: () => void

      Returns undefined | boolean