smooth-scrollbar-plugin-infinite-load
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

smooth-scrollbar-plugin-infinite-load

Infinite load plugin for smooth-scrollbar

useage

npm install smooth-scrollbar-plugin-infinite-load

file.js

import SmoothScrollbar from 'smooth-scrollbar';

SmoothScrollbar.use(InfiniteLoadPlugin);

const scrollbar = SmoothScrollbar.init('container', {
  plugins: {
    infiniteLoad: {...},
  },
});

NOTICE: when options change, update plugin

scrollbar.updatePluginOptions(
  'infiniteLoad',
  {...},
);

options

{
  disabled: false,
  loading: false,
  distance: 100,
  page: 1,
  pageCount: 1,
}

Package Sidebar

Install

npm i smooth-scrollbar-plugin-infinite-load

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

6.91 kB

Total Files

8

Last publish

Collaborators

  • senasiko