huruhuru - v0.0.2
    Preparing search index...

    Function formatPaginationItem

    • Format a copy of an item, preserving its input builder and accessory. {{number}} uses the supplied 1-based item number (0 for headers/top items). {{page}} and {{pages}} use the current and total page counts.

      Type Parameters

      Parameters

      • item: T
      • currentPage: number
      • maxPage: number
      • index: number

      Returns T