Lovely library. This has been working out really nicely for me.
We are implementing a hypermedia REST API, and it would be nice if I could have the option to assign the pagination buttons a value or object that would contain the appropriate link to follow.
If this isn't possible, it would at least be nice to know in the pagination callback function which of the 4 pagination buttons was called, so I can handle this appropriately.
Right now, I am basically having to determine which of the buttons was clicked by calculating the offset each time, which is overkill for this type of thing.
Hey Daniel --
Lovely library. This has been working out really nicely for me.
We are implementing a hypermedia REST API, and it would be nice if I could have the option to assign the pagination buttons a value or object that would contain the appropriate link to follow.
If this isn't possible, it would at least be nice to know in the pagination callback function which of the 4 pagination buttons was called, so I can handle this appropriately.
Right now, I am basically having to determine which of the buttons was clicked by calculating the offset each time, which is overkill for this type of thing.
How possible would this be to implement?
Thanks again for your work!