📜 Automatically add next page
🐞 fix 403 Network Error handling
Breaking Changes
responseType
option to responseBody
. This effects loading JSON. See Upgrading to v4.New Features
fetch
API to make requests.loadNextPage()
returns the fetch request Promiseload
, append
, and error
events. #845append
enabled, last page will be triggered if the loaded page appends 0 items. #840fetchOptions
option. Allows you to set request headers. #791, #801, #822, #905, #917Thanks to @kyle-mccarthy and @icetee for their Pull Requests in this release!
._init is not a function
#768Uncaught DOMException
bug #672, PR #705button
option bug #719infinite-scroll-last
status element #706X-Requested-With
header #702destory
typogetPath
Infinite Scroll v3 is a complete rewrite with all new API and behavior.
pageIndex
and loadCount
outlayer
optionSee Upgrading from v2 for details on how to upgrade from Infinite Scroll v2