Dead simple TypeScript library to create endless scroll
License
youkwhd/kontinu
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
kontinu ======= Typed JavaScript library to create endless scroll with no third-party dependency nor Web API involed. Installing ---------- You can either copy/paste the source from dist/umd/kontinu.js to use as a browser script, or via package manager: npm install kontinu Quick Start ----------- To use kontinu, you can observe a HTML element that is the last element. Then you can create a function to append more contents to the DOM. kontinu.observe(lastElement, () => updateDOM()); To be more clear, see the Examples section. Building -------- You can use your favorite package manager, install all the required developement dependencies: yarn install To build the project, you can invoke: yarn build Rollup will build into two types of modules, UMD and ESM. Examples -------- You can find examples from the examples/ folder.
About
Dead simple TypeScript library to create endless scroll
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published