A demo implementation of an infinite scrolling list, using the Intersection
meta.
To use intersection-observer
, clone the examples
repository and install the npm dependencies:
git clone https://github.com/dojo/examples
cd examples/intersection-observer
npm install
To run the example, simply run the dojo build.
dojo build
To watch and serve the application source, then run the build with the -w
command.
dojo build -w -s
The InfiniteList
widget uses the Intersection meta to determine when its bottom element is in the viewport. If it is, then the bottom of the list is visible and more content needs to be loaded.
We appreciate your interest! Please see the Dojo Meta Repository for the Contributing Guidelines and Style Guide.
To start working with this package, clone the repository and run npm install
.
In order to build the project run npm run build
.
© 2018 JS Foundation. New BSD license.