Type alias ValueFn<T, Datum, Result>

ValueFn<T, Datum, Result>: ((this, datum, index, groups) => Result)

Type Parameters

Type declaration

    • (this, datum, index, groups): Result
    • Callback type for selections and transitions

      Parameters

      • this: T
      • datum: Datum
      • index: number
      • groups: T[] | ArrayLike<T>

      Returns Result