Skip to content

UMD-Digital/element-scroll-top

Repository files navigation

<umd-scroll-top> element

Installation

$ yarn add @universityofmaryland/scroll-top

Basic Usage

Import the utility header in your js if you bundle using a transpile with babel or typescript.

import '@universityofmaryland/scroll-top';

HTML usage

<umd-scroll-top show-mobile="true" position-bottom="30vh"></umd-scroll-top>

Optional Attributes

  1. show-mobile: defaults to false
  2. position-bottom: defaults to length of view

License

Distributed under the MIT license. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published