Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
/ skrolla Public archive

🌀 A tiny plugin for scrolling to specific places on a page.

License

Notifications You must be signed in to change notification settings

oscarpalmer/skrolla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skrolla

npm version

A tiny plugin for scrolling to specific places on a page. 🌀

Getting started

Skrolla is available via npm and yarn, but you can just as easily download the script and then include it in your document. After that, all that's needed is to add the [data-skrolla]-attribute to clickable elements with its value pointing to an existing ID in your HTML. 😎

Older browsers

Skrolla uses a few things introduced in later version of ECMAScript, so if you're unsure of what may or may not be supported, I'd recommend using the script compiled by Babel. ✌️

To-do

  1. Docs & demo
  2. More easings?

License

MIT Licensed. Skrolla is yours to tinker with, if you'd like. Have fun! 😊

About

🌀 A tiny plugin for scrolling to specific places on a page.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published