infiniScroll.js icon indicating copy to clipboard operation
infiniScroll.js copied to clipboard

Allow configuration of fetch method

Open OliverJAsh opened this issue 11 years ago • 1 comments

In my Backbone app, I have written a function that sits on top of fetch and deals with things like params for me. I would be able to use this plugin if it allowed the configuration of not just the parameters in the fetch call, but total control over what function gets called. I should be able to use my custom method in place of fetch.

Would you consider adding this?

For reference, this is what I would like control over: https://github.com/joneath/infiniScroll.js/blob/master/lib/infiniScroll.js#L90-95

OliverJAsh avatar Apr 16 '13 15:04 OliverJAsh

Instead of using a function on top of fetch, you could override it.

david-crespo avatar Jul 28 '14 20:07 david-crespo