@butsandcats/sticky

Front end sticky scrolling

Usage no npm install needed!

<script type="module">
  import butsandcatsSticky from 'https://cdn.skypack.dev/@butsandcats/sticky';
</script>

README

Sticky

A lightweight sticky scrolling plugin

const stickySidebar = new Sticky({
  target: '#Sidebar'
});

License

The code is available under an ISC License.