Nothing Particularly Magnificent

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.

Keywords

none

install

npm i kc-scroll

Downloadsweekly downloads

447

version

0.2.71

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability