Type alias DropFunction<T>

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

Defines the function invoked when an item is dropped onto an existing vertex.

Type Parameters

  • T

Type declaration

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

      • data: T
      • target: Node | Group
      • Optional draggedElement: BrowserElement
      • Optional e: Event
      • Optional position: PointXY
      • Optional canvasLocation: PointXY
      • Optional targetLocation: PointXY
      • Optional locationOnTarget: PointXY

      Returns void

Version :