@vcl/go-to-top

0.6.3 • Public • Published

VCL go-to-top

A fixed positioned control to jump to the top of a scrolled viewport.

Features

This component is a specialization of the button component.

Usage

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.

basic example

Classes

  • vclGoToTop

Modifiers

Variables

  • --gototop-color
  • --gototop-bg-color

Demo

example.html on GH-pages.

Package Sidebar

Install

npm i @vcl/go-to-top

Weekly Downloads

6

Version

0.6.3

License

MIT

Unpacked Size

5.55 kB

Total Files

7

Last publish

Collaborators

  • marcode95
  • vanthome
  • dani723
  • vilsol
  • jurgis-upenieks