1.1.2 • Published 7 years ago

sscroll v1.1.2

Weekly downloads
73
License
MIT
Repository
github
Last release
7 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

7 years ago

1.1.1

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago