Skip to content

Nerdtrix/ezScrollUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezscrollup npm package

Overview

ezscrollup

Features

  • Scroll up
  • Supports all the browsers
  • Set arrow color
  • Set background color
  • Hide/show automatically base on the current scroll position
  • Change scroll behavior

Usage

Installation

npm i ezscrollup

Update

npm update ezscrollup

Import

import EZScrollUp from 'ezscrollup';

Examples

  • Using the default configurations
<EZScrollUp/>
  • Using different background, color, behavior and always visible.
<EZScrollUp 
    alwaysVisible={true}
    background="black"
    color="#ffffff",
    behavior="auto"
/>
Available params
  • alwaysVisible: optional boolean
  • background: optional string
  • color: optional color
  • behavior optional behavior. smooth | auto | initial | inherit

Credits

This module was inspired and created by @jerryurenaa

License

ezscrollup is MIT licensed.

Powered by Nerdtrix.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published