Download Latest Version v4.0.1.zip (143.5 kB)
Email in envelope

Get an email when there's a new version of Infinite Scroll

Home / v4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-01-01 835 Bytes
v4.0.0 - ES2018 refactor_ fetch() _ Promises.tar.gz 2021-01-01 93.9 kB
v4.0.0 - ES2018 refactor_ fetch() _ Promises.zip 2021-01-01 142.8 kB
Totals: 3 Items   237.6 kB 1

4.0.0 release notes

Breaking Changes

  • ๐Ÿ’” replaced responseType option to responseBody. This effects loading JSON. See Upgrading to v4.
  • ๐Ÿ’€ Internet Explorer and Android 4 support dropped.
  • ๐Ÿ’€ Removed RequireJS support and AMD export

New Features

  • Use fetch API to make requests
  • .loadNextPage() returns the fetch request Promise
  • Response argument added to load, append, and error events. [#845]
  • With append enabled, last page will be triggered if the loaded page appends 0 items. [#840]
  • Added fetchOptions option. Allows you to set request headers. [#791], [#801], [#822], [#905], [#917]
  • Automated linting and style with ESLint
  • Added headless browser testing Puppeteer
  • Use ES2018 syntax and features
Source: README.md, updated 2021-01-01