kc-scroll

0.2.71 • Public • Published

kc-scroll

library for offering simple tools fetching every single DOM info and performing actions

comm.js

In this file, we've got three basic functions:

  • currentYPosition
  • elmYPosition
  • smoothScroll

Those functions are collected from below:

Javascript smooth scroll WITHOUT the use of jQuery

Usage

Installing this lib from npm like:

$ npm install kc-scroll@latest --save

Then, just import it like:

import { currentYPosition, elmYPosition, smoothScroll } from 'kc-scroll';

And you can start to use these three basic functions.

Readme

Keywords

none

Package Sidebar

Install

npm i kc-scroll

Weekly Downloads

25

Version

0.2.71

License

MIT

Last publish

Collaborators

  • chiangkeith