Type alias EdgeDropFunction<T>

EdgeDropFunction<T>: ((data, target, draggedElement?, e?, position?, canvasLocation?) => void)

Defines the function invoked when an item is dropped on an edge.

Type Parameters

  • T

Type declaration

    • (data, target, draggedElement?, e?, position?, canvasLocation?): void
    • Parameters

      • data: T
      • target: Edge
      • Optional draggedElement: BrowserElement
      • Optional e: Event
      • Optional position: PointXY
      • Optional canvasLocation: PointXY

      Returns void

Version :