Home > @jsplumbtoolkit/drop > SurfaceDropManagerOptions > dataGenerator
SurfaceDropManagerOptions.dataGenerator property
Optional function to generate an initial payload from an element that has started to be dragged.
Signature:
dataGenerator?: DataGeneratorFunction<T>;