Function nonUniformContext

  • creates a non uniform context based on the given array like heights

    Parameters

    • rowHeights: { forEach: (callback: (height: number, index: number) => void) => void }

      array like to get the heights

    • defaultRowHeight: number = Number.NaN

      if not given the most frequent value will be used

    • rowPadding: number | (index: number) => number = 0

      padding between rows

    Returns IExceptionContext