Type alias DataGeneratorFunction<T>

DataGeneratorFunction<T>: ((el) => T)

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

Type Parameters

  • T

Type declaration

    • (el): T
    • Parameters

      • el: BrowserElement

      Returns T