https://github.com/distpub/jquery-scroll-to-bottom.js
trigger event when scroll to bottom
https://github.com/distpub/jquery-scroll-to-bottom.js
Last synced: 4 months ago
JSON representation
trigger event when scroll to bottom
- Host: GitHub
- URL: https://github.com/distpub/jquery-scroll-to-bottom.js
- Owner: DistPub
- Created: 2016-09-22T01:32:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2013-12-15T08:07:52.000Z (over 12 years ago)
- Last Synced: 2025-10-10T04:28:23.564Z (8 months ago)
- Homepage:
- Size: 102 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1.jquery scroll to bottom plugin
this is a plugin for judge a scroll had to bottom of container, you will get a event when it happend, also you can set offset for customize range to bottom and set a callback when event happend.
usage:
$(window).setupScrollToBottomEvent({callback:function(){alert('scroll on bottom')}})
$(window).setupScrollToBottomEvent({offset:100}).on('scrollToBottom',function(){})