Type alias CanvasDropFunction<T>

CanvasDropFunction<T>: ((data, canvasPosition, draggedElement?, e?, position?, elementSize?) => void)

Defines the function invoked when an item is dropped onto whitespace in the canvas.

Type Parameters

  • T

Type declaration

    • (data, canvasPosition, draggedElement?, e?, position?, elementSize?): void
    • Parameters

      • data: T
      • canvasPosition: PointXY
      • Optional draggedElement: BrowserElement
      • Optional e: Event
      • Optional position: PointXY
      • Optional elementSize: Size

      Returns void

Version :