Skip to content

Files

Latest commit

731bd0c · Mar 3, 2022

History

History

intersection-observer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 21, 2020
Jul 21, 2020
Jul 21, 2020
Jul 21, 2020
Jul 21, 2020
Jul 21, 2020
Mar 3, 2022
Mar 3, 2022
Jul 21, 2020
Jul 21, 2020

Infinite Scrolling Demo

A demo implementation of an infinite scrolling list, using the Intersection meta.

Usage

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

What's Going On?

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.

How do I contribute?

We appreciate your interest! Please see the Dojo Meta Repository for the Contributing Guidelines and Style Guide.

Installation

To start working with this package, clone the repository and run npm install.

In order to build the project run npm run build.

Licensing Information

© 2018 JS Foundation. New BSD license.