transient back to top link shown on scroll
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
example.html
index.js
template.html
template.js
top.css

Readme.md

top

Transient back-to-top link that fades in once the user has scrolled more than 50% of the page height.

back to top link

Installation

$ component install component/top

Example

require('top')();

License

MIT