Infinite scrolling plugin for Selectize (selectize.js).
bower install selectize-infinite_scroll
$('select').selectize({'plugins': {'infinite_scroll': {'scrollRatio': 0.85, 'scrollStep': 20}}});
Option | Description |
---|---|
scrollRatio | Scroll position ratio to load more content (e.g. 0.85 will load more content when 85% scrolled |
scrollStep | Number of additional items to load when scrollRatio is reached |