1.1.2 • Published 6 years ago

sscroll v1.1.2

Weekly downloads
73
License
MIT
Repository
github
Last release
6 years ago

sscroll

Itty-bitty smooth scrolling. 400 bytes gzipped.

Usage

import sscroll from 'sscroll'

const stop = sscroll(document.getElementById('target'), {
  duration: 500, // ms
  offset: 50 // positive values scroll further
})

stop() // stops scroll

License

MIT License © Eric Bailey

1.1.2

6 years ago

1.1.1

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago