vcl-go-to-top

0.1.0 • 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.

Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i vcl-go-to-top

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • dani723
    • vanthome