remorajs

0.1.2 • Public • Published

Remora JS

Framework agnostic lib for stick-scrolling DOM elements.

Just wrap your block into following markup

<div id="container">
  <div id="target">Your content here</div>
</div>  

and launch

let myRemora = new Remora({
  target: document.getElementById('target'),
  container: document.getElementById('container')
})

dont forget to destroy then dont need more.

myRemora.destroy()

super simple :)

Readme

Keywords

Package Sidebar

Install

npm i remorajs

Weekly Downloads

1

Version

0.1.2

License

ISC

Unpacked Size

4.11 kB

Total Files

3

Last publish

Collaborators

  • eugene1985