Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonyshort/scroll-to
Animated scrolling
https://github.com/anthonyshort/scroll-to
Last synced: 24 days ago
JSON representation
Animated scrolling
- Host: GitHub
- URL: https://github.com/anthonyshort/scroll-to
- Owner: anthonyshort
- Created: 2013-04-06T09:55:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-16T18:18:41.000Z (about 10 years ago)
- Last Synced: 2024-04-15T03:16:22.085Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 141 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# scroll-to
Animate scrolling to elements.
## Installation
$ component install anthonyshort/scroll-to
## API
scrollTo(element, 2000, 'inOutQuad');
Pretty basic, eh? Give it a DOM element, a duration and an easing function from component/easing.
## License
MIT