Skip to main content

Home > @jsplumbtoolkit/drop > DataGeneratorFunction

DataGeneratorFunction type

Defines the function that is invoked to gather a dataset to associate with an item that is being dragged.

Signature:

export declare type DataGeneratorFunction<T> = (el: Element) => T;