Skip to content

A web component for automatically making requests to the server for an infinite scrolling list

License

Notifications You must be signed in to change notification settings

jmbldwn/paging-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Published on webcomponents.org

paging-source

This web component automatically makes paged requests for data from a URL to populate a local list.
Parameters for how far ahead (or behind) to ensure data is retrieved cause the component to look further ahead of the scroll position.

The complete service URL is assumed to support two URL parameters, skip, and limit, specifying the first index and the number of items to retrieve.

Installation

import paging-source.html

Usage

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

2016-11-06 First Checkin

Credits

Jim Baldwin

License

MIT

About

A web component for automatically making requests to the server for an infinite scrolling list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages