ISizeCallback: (data: Data, size: ISize, ref: HTMLDivElement) => string

Type definition for a callback function that handles size and data changes.

Type Parameters

  • Data = IAnything

    The type of data being passed to the callback function.

Type declaration

    • (data: Data, size: ISize, ref: HTMLDivElement): string
    • Parameters

      • data: Data

        The data being passed to the callback function.

      • size: ISize

        The size information.

      • ref: HTMLDivElement

        The reference to the HTML div element.

      Returns string

      A string representing the result of the callback function.