A fix positioned control to jump to the top of a scrolled viewport
npm install vcl-go-to-topA fixed positioned control to jump to the top of a scrolled viewport.
This component is a specialization of the
button component.
The vertical placement is 1em to the bottom of the viewport.
Horizontally it should be placed right to the element with
the vclApp class with +1em offset.
- vclGoToTop
- --gototop-color
- --gototop-bg-color
example.html on GH-pages.