Ad
  • Custom User Avatar

    I was confused until I read your description. Then it went quickly. I think the biggest help was:

    The argument range describes the range of t, with both bounds included.

  • Custom User Avatar

    Please change the description example to use non-number value in the array.
    Ex: var helper = new PaginationHelper(['a','b','c','d','e','f'], 4);

    The way it is now make it very difficult to grok the intention/inputs of functions like pageIndex()